Dear all ,
I've error when accesses in admin page :
'admin_static' is not a registered tag library. Must be one of:
admin_list
admin_modify
admin_urls
cache
django_ajax_tags
i18n
import_export_tags
l10n
log
static
tags
tz
--
You received this message because you are subscribed to the Google
It sure seems like #2 that I mentioned before is the issue. Your context
processor is overriding the 'user' template context variable that the admin
uses. I just looked at some admin templates and they definitely use the
'user' variable. Name it something else or add logic to the context
On Tue, Dec 20, 2011 at 11:09 PM, Divick Kishore
wrote:
> On Wed, Dec 21, 2011 at 6:04 AM, Branton Davis
> wrote:
> > It sounds like your custom user template context variable might be
> causing a
> > conflict with the default if you're also using
Hi Branton,
On Wed, Dec 21, 2011 at 11:09 AM, Branton Davis wrote:
>
> That stack trace is unrelated to the other problem. Somewhere (guessing
> gifts/urls.py) you've referenced a view
> at gifts.views.ajax_handle_wishinvite, which doesn't exist. Check
> gifts/views.py for
On Dec 21, 7:05 am, Karen Tracey wrote:
> People would be able to help you more effectively if you included the stack
> trace that goes with the exception.
>
> Karen
> --http://tracey.org/kmt/
The stack trace for the error is:
ERROR Caught AttributeError while rendering:
On Wed, Dec 21, 2011 at 6:04 AM, Branton Davis wrote:
> It sounds like your custom user template context variable might be causing a
> conflict with the default if you're also using django.contrib.auth (which is
> what the admin uses by default). I'm guessing that the admin
People would be able to help you more effectively if you included the stack
trace that goes with the exception.
Karen
--
http://tracey.org/kmt/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
I get the following error when I try to access admin site. I am not
sure what is causing this. I am not sure if it could be caused because
one of the two reasons:
1. I have a User model in one of my apps which does not have a id as
primary key. I have some other key as the primary key.
2. I have
That did it! Thanks =)
On Oct 8, 4:49 pm, Shawn Milochik wrote:
> See your urlpatterns section that has the prefix 'myapp.views.' It's at the
> bottom of your e-mail.
>
> You have some stuff in there that doesn't belong there. It should be broken
> out into another
See your urlpatterns section that has the prefix 'myapp.views.' It's at the
bottom of your e-mail.
You have some stuff in there that doesn't belong there. It should be broken
out into another "urlpatterns += patterns(...)" section that has no prefix
or the correct prefix.
--
You received this
_populate()
File "/usr/local/lib/python2.6/dist-packages/django/core/
urlresolvers.py" in _populate
220. lookups.appendlist(pattern.callback, (bits,
p_pattern))
File "/usr/local/lib/python2.6/dist-packages/django/core/
urlresolvers.py" in _get_callback
167.
the exception you are getting
victor
On 7 jan, 20:28, hank23 <hversem...@stchas.edu> wrote:
> I have coded a new form with a ModelChoiceField defined on it which is
> getting the following error:
>
> TemplateSyntaxError at /admin/
> Caught TypeError while rendering: __init
I have coded a new form with a ModelChoiceField defined on it which is
getting the following error:
TemplateSyntaxError at /admin/
Caught TypeError while rendering: __init__() takes at least 2
arguments (6 given)Request Method: GET
Request URL: http://127.0.0.1:8000/admin/
Django Version: 1.2.4
The addchoice screen (addchoice.html) code follows below. I included
it just in case something might be wrong with it that could be related
to or causing this problem, because some of its code is also doing
some new things that I've not done before, so there are likely errors
in it as well. Here's
OK here's the entire views.py code:
# Create your views here.
from django.http import Http404
from django.shortcuts import render_to_response, get_object_or_404,
get_list_or_404
from django.http import HttpResponseRedirect, HttpResponse
from django.core.urlresolvers import reverse
from
Hi,
> Near the top of my views.py I do have "from django import forms", so
> I'm guessing that based on previous comments that this is ok. Do I
> also need to import my specific named-form which IO created for the
> new screen/view from my polls.forms.py module? If so is this syntax
> correct:
>
olls.forms import AddChoiceForm
If not let me know. Thanks.
On Jan 5, 9:22 am, Dan Fairs <dan.fa...@gmail.com> wrote:
> Hi,
>
> > TemplateSyntaxError at /admin/
> > Caught ViewDoesNotExist while rendering: Tried addchoice in module
> > polls.views. Error was: 'modul
Hi,
> TemplateSyntaxError at /admin/
> Caught ViewDoesNotExist while rendering: Tried addchoice in module
> polls.views. Error was: 'module' object has no attribute 'form'Request
> Method: GET
> Request URL: http://127.0.0.1:8000/admin/
> Django Version: 1.2.
I'm not understanding what the error "TemplateSyntaxError at /admin/"
is trying to tell me. The full text of the error message looks like
this:
TemplateSyntaxError at /admin/
Caught ViewDoesNotExist while rendering: Tried addchoice in module
polls.views. Error was: 'module'
I get the same error in the admin interface after manually removing a
field from one of my classes. I removed it in models.py and in the
database. The class in question works fine, but for some reason a
dependent class (one that refers to the other with a foreign key) has
it's admin form broken.
On Sun, Jan 31, 2010 at 2:39 PM, Martin J. Laubach
> wrote:
> > 1.(r'^admin/', include(admin.site.urls)),
>
> That looks like it.
>
No, that is the correct way to specify admin urls for 1.1 and up. No quotes
around admin.site.urls.
One
> 1. (r'^admin/', include(admin.site.urls)),
That looks like it.
> I tried putting include('admin.site.urls')) but it could not find
> 'admin.site.urls'
Do you have 'django.contrib.admin' in INSTALLED_APPS?
mjl
--
You received this message because you are subscribed to the
In my urls.py I see only two possible places where I do not have
quotes,
1.(r'^admin/', include(admin.site.urls)),
I tried putting include('admin.site.urls')) but it could not find
'admin.site.urls'
2. (r'^register/$', register,{'opensource':True}),
True is not in quotes. But it is
> Caught an exception while rendering: 'module' object has no attribute
> 'rindex'
Sounds you are using foo.bar instead of 'foo.bar' somewhere (ie.
module instead of string).
mjl
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
after login to admin, now I get this error, any clues on what to look
for?
using django 1.1.1
Ashish
TemplateSyntaxError at /admin/
Caught an exception while rendering: 'module' object has no attribute
'rindex'
Original Traceback (most recent call last):
File "/Library/Python/2.5
do i
> > fix it? I am stuck...
> > I am new at using django as well... just to let you know ;)
>
> > [snip]
> > Exception Type: TemplateSyntaxError at /admin/
> > Exception Value: Caught an exception while rendering: (1146, "Table
> > 'winzees.dja
On Aug 28, 7:57 am, "s.molinari" <s.molinar...@googlemail.com> wrote:
> Hiya!
> I tried to access the django admin page and I got that error. How do i
> fix it? I am stuck...
> I am new at using django as well... just to let you know ;)
>
> [snip]
> Exceptio
= node.render(context)
File "/usr/local/lib/python2.6/dist-packages/django/template/
loader_tags.py" in render
24. result = self.nodelist.render(context)
File "/usr/local/lib/python2.6/dist-packages/django/template/
__init__.py" in render
779. bits.a
In fact it was not the solution. I though that it was because when I
browsed to localhost:8000/admin/ I saw the login form but after
logging in the error appeared another time.
Today I'm going to start a project from the beggining and I'm going to
copy the files one by one trying to isolate the
Uhm, the solution was to delete the database and recreate it. Now it
runs correctly.
2008/7/21 Florencio Cano <[EMAIL PROTECTED]>:
> Hi,
> After viewing the new documentation for the admin interface and
> modifying, properly I think, the files when I try to access
> http://localhost:8000/admin/
On Mon, Jul 21, 2008 at 10:59 AM, Florencio Cano <[EMAIL PROTECTED]>
wrote:
>
> Uhm, the solution was to delete the database and recreate it. Now it
> runs correctly.
>
Note this sort of thing (delete/recreate database) IS NOT generally
necessary for updating to the newforms admin code, which is
;
> Please help so I can use django. Thank you.
>
> When I click change on the admin site I get:
>
> TemplateSyntaxError at /admin/sites/site/
> Invalid arguments to 'cycle': ['cycle', "'row1'", "'row2'"]
>
> Request Method: GET
> Request URL: ht
it was mentioned on the djangoproject page.) Can
I just delete the whole django directory and paste the new svn ones?
What about my MySQL stuff, will it be there?
Please help so I can use django. Thank you.
When I click change on the admin site I get:
TemplateSyntaxError at /admin/sites/site
ons was to follow
> > the fix described here because of an apparent flaw with
> 0.96.:http://forums.devshed.com/showpost.php?p=1856484=2
> >
>
I'd guess following these instructions is how you somehow got current SVN
templates mixed in with 0.96 code.
>
> > Thanks!
> >
&g
e of the tutorial instructions was to follow
> the fix described here because of an apparent flaw with
> 0.96.:http://forums.devshed.com/showpost.php?p=1856484=2
>
> Thanks!
>
> Rex
>
> ===
> TemplateSyntaxError at /admin/polls/poll/
> Invalid a
35 matches
Mail list logo