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 way the reported error can happen is when what is in
> 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 Goog
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 workin
> 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 pos
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/site-packa
6 matches
Mail list logo