#2492: Part II of the tutorial fails to load the admin site using SVN Rev. 3528
------------------------------+---------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Type: defect | Status: reopened
Priority: high | Milestone:
Component: Admin interface | Version: SVN
Severity: major | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Changes (by [EMAIL PROTECTED]):
* resolution: worksforme =>
* status: closed => reopened
Comment:
I am having the exact same problem with SVN Rev. 3577. Followed the
tutorial step by step and came up with the exact same error as described
above.
{{{
AttributeError at /admin/
'module' object has no attribute 'urlpatterns'
}}}
As a second test, I downloaded the 0.95 release and changed the symlink in
site-packages to use 0.95 instead. I restarted the server using the same
'mysite' code user 0.95. In this case, '''I do not get the same error.'''
I am able to log in under the admin ID.
At this point, though, I have another problem. Operational Error: No such
table 'django_admin_log.' This is to be expected, I assume, as a
backwards-incompatible change from auth_admin_log.
{{{
OperationalError at /admin/
no such table: django_admin_log
Request Method: GET
Request URL: http://127.0.0.1:8000/admin/
Exception Type: OperationalError
Exception Value: no such table: django_admin_log
Exception Location:
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
site-packages/django/db/backends/sqlite3/base.py in execute, line 77
}}}
I found a urlpatterns attribute in django.contrib.admin.urls. Perhaps an
issue with the resolver?
-- Tom W.
--
Ticket URL: <http://code.djangoproject.com/ticket/2492>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---