Skip to content

Instantly share code, notes, and snippets.

@amir-qayyum-khan
Created July 1, 2015 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amir-qayyum-khan/57c407522ffaf6b905fb to your computer and use it in GitHub Desktop.
Save amir-qayyum-khan/57c407522ffaf6b905fb to your computer and use it in GitHub Desktop.
Exception one
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
132. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/decorators.py" in _wrapped_view
21. if test_func(request.user):
Exception Type: AttributeError at /repositories/test/
Exception Value: 'RepositoryView' object has no attribute 'user'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment