Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The test test_anon_token_from_cookie is breaking #13

Open
peterbe opened this issue Dec 14, 2012 · 0 comments
Open

The test test_anon_token_from_cookie is breaking #13

peterbe opened this issue Dec 14, 2012 · 0 comments

Comments

@peterbe
Copy link
Contributor

peterbe commented Dec 14, 2012

Pulled down the latest master and ran tests.

======================================================================
ERROR: test_anon_token_from_cookie (session_csrf.tests.TestCsrfMiddleware)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/peterbe/dev/DJANGO/django-session-csrf/session_csrf/tests.py", line 95, in test_anon_token_from_cookie
    self.mw.process_request(request)
  File "/Users/peterbe/dev/DJANGO/django-session-csrf/session_csrf/__init__.py", line 42, in process_request
    if request.user.is_authenticated():
AttributeError: 'WSGIRequest' object has no attribute 'user'

:(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant