I was just playing around after upgrading from 1.6.6, I made small changes to my source to make it compatible. It was using the old WSGIHandler() style for wsgi.py, so I switched to get_wsgi_application(). I upgraded django-debug-toolbar, because it was incompatible. Everything on my site works. The admin works. Some of the admin/doc stuff works. However, when visiting admin/doc/filters this happened:

    Internal Server Error: /admin/doc/filters/
    Traceback (most recent call last):
File "/home/cjwelborn/lib/python3.3/django/core/handlers/base.py", line 111, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/cjwelborn/lib/python3.3/django/views/generic/base.py", line 69, in view
        return self.dispatch(request, *args, **kwargs)
File "/home/cjwelborn/lib/python3.3/django/utils/decorators.py", line 29, in _wrapper
        return bound_func(*args, **kwargs)
File "/home/cjwelborn/lib/python3.3/django/contrib/auth/decorators.py", line 22, in _wrapped_view
        return view_func(request, *args, **kwargs)
File "/home/cjwelborn/lib/python3.3/django/utils/decorators.py", line 25, in bound_func
        return func.__get__(self, type(self))(*args2, **kwargs2)
File "/home/cjwelborn/lib/python3.3/django/contrib/admindocs/views.py", line 43, in dispatch
        return super(BaseAdminDocsView, self).dispatch(*args, **kwargs)
File "/home/cjwelborn/lib/python3.3/django/views/generic/base.py", line 87, in dispatch
        return handler(request, *args, **kwargs)
File "/home/cjwelborn/lib/python3.3/django/views/generic/base.py", line 154, in get
        context = self.get_context_data(**kwargs)
File "/home/cjwelborn/lib/python3.3/django/contrib/admindocs/views.py", line 100, in get_context_data
        load_all_installed_template_libraries()
File "/home/cjwelborn/lib/python3.3/django/contrib/admindocs/views.py", line 314, in load_all_installed_template_libraries
        for p in os.listdir(os.path.dirname(upath(mod.__file__)))
    AttributeError: 'module' object has no attribute '__file__'


It doesn't seem to touch any of my stuff, or any of the changes I mentioned previously. Only Django's stuff. Any ideas?

--
\¯\      /¯/\
 \ \/¯¯\/ / / Christopher Welborn (cj)
  \__/\__/ /  cjwelborn at live·com
   \__/\__/   http://welbornprod.com

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/lvg84v%24qqt%241%40ger.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to