#16573: admindocs "views" view returns no urls ------------------------------------+----------------------------------- Reporter: lopopolo | Owner: nobody Type: Bug | Status: reopened Milestone: | Component: contrib.admindocs Version: SVN | Severity: Release blocker Resolution: | Keywords: Triage Stage: Accepted | Has patch: 1 Needs documentation: 0 | Needs tests: 1 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | ------------------------------------+----------------------------------- Changes (by aaugustin):
* severity: Normal => Release blocker * needs_tests: 0 => 1 * stage: Unreviewed => Accepted Comment: Good catch. This is a regression introduced at r16405. With a checkout of your project (but that project has nothing special, the result would be the same with any Django site), and r16404 of Django, it works. With r16405, I get this exception: {{{ Environment: Request Method: GET Request URL: http://localhost:8000/ssb/doc/views/ Django Version: 1.4 pre-alpha SVN-16405 Python Version: 2.6.6 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.markup', 'hyperbola.contact', 'hyperbola.frontpage', 'hyperbola.lifestream', 'hyperbola.helpers'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') Traceback: File "/Users/myk/Desktop/hyperbola/hyperbola/django/core/handlers/base.py" in get_response 111. response = callback(request, *callback_args, **callback_kwargs) File "/Users/myk/Desktop/hyperbola/hyperbola/django/contrib/admin/views/decorators.py" in _checklogin 16. return view_func(request, *args, **kwargs) File "/Users/myk/Desktop/hyperbola/hyperbola/django/contrib/admindocs/views.py" in view_index 137. 'module': func.__module__, Exception Type: AttributeError at /ssb/doc/views/ Exception Value: 'NoneType' object has no attribute '__module__' }}} -- Ticket URL: <https://code.djangoproject.com/ticket/16573#comment:5> Django <https://code.djangoproject.com/> 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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.