Opened 18 years ago
Last modified 18 years ago
#2529 closed defect
[patch] admin/doc/views throws TypeError — at Version 3
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Hi,
the admin/doc/views throws the following TypeError with Rev: 3570
Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/django/core/handlers/base.py" in get_response 74. response = callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py" in _checklogin 55. return view_func(request, *args, **kwargs) File "/usr/local/lib/python2.4/site-packages/django/contrib/admin/views/doc.py" in view_index 1. view_functions = extract_views_from_urlpatterns(urlconf.urlpatterns) File "/usr/local/lib/python2.4/site-packages/django/contrib/admin/views/doc.py" in extract_views_from_urlpatterns 337. views.extend(extract_views_from_urlpatterns(p.url_patterns, base + p.regex.pattern)) File "/usr/local/lib/python2.4/site-packages/django/contrib/admin/views/doc.py" in extract_views_from_urlpatterns 339. raise TypeError?, _("%s does not appear to be a urlpattern object") % p TypeError? at /admin/doc/views/ <django.core.urlresolvers.RegexURLPattern object at 0x40b4d9ac> does not appear to be a urlpattern object
Regards,
Dirk
Change History (4)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Summary: | admin/doc/views throws TypeError → [patch] admin/doc/views throws TypeError |
---|
comment:3 by , 18 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
I pasted incidently much more than the traceback, can you delete this private infos ?
Here is the correct traceback:
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/django/core/handlers/base.py" in get_response
File "/usr/local/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py" in _checklogin
File "/usr/local/lib/python2.4/site-packages/django/contrib/admin/views/doc.py" in view_index
File "/usr/local/lib/python2.4/site-packages/django/contrib/admin/views/doc.py" in extract_views_from_urlpatterns
File "/usr/local/lib/python2.4/site-packages/django/contrib/admin/views/doc.py" in extract_views_from_urlpatterns
Regards,
Dirk