Opened 12 years ago

Closed 12 years ago

#2754 closed defect (worksforme)

Admin panel broken: module object has no attribute urlpatterns

Reported by: Jarosław Zabiełło Owned by: Adrian Holovaty
Component: contrib.admin Version: master
Severity: blocker Keywords: panel linux urlpatterns
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


System: Debian 3.1, Python 2.4.3, Django SVN (rev.3768)

Request Method:  	GET
Request URL:
Exception Type: 	AttributeError
Exception Value: 	'module' object has no attribute 'urlpatterns'
Exception Location: 	/usr/local/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/ in resolve, line 156

This problem exists only under Linux. Under WindowsXP everything works fine. I thought that mayby fasctgi was broken, but it was not the case because this exception raises even when I lauch my Django project with: runserver. I left my url when you can see detailed info:

Change History (1)

comment:1 Changed 12 years ago by James Bennett

Resolution: worksforme
Status: newclosed

I'm unable to reproduce this (admin works fine for me on both Linux and Mac OS X), and if it were truly a problem in Django we'd be getting tons of reports of it, so it's got to be a configuration issue on your server.

Note: See TracTickets for help on using tickets.
Back to Top