I'm running into a weird error when running the tests for my project.
For some reason the flatpage tests seem to be failing because my login
page is issuing a 404. When I `runserver` this url is available, so I
don't understand the discrepancy. These tests don't fail when I revert
to 1.2.1, however...

I wonder if it has something to do with the fact that I use a
different LOGIN_URL than /accounts/login/?

======================================================================
FAIL: A flatpage served by the middleware can require authentication
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jamstooks/workspace/my_project/parts/django/django/
contrib/flatpages/tests/middleware.py", line 56, in
test_fallback_authenticated_flatpage
    self.assertRedirects(response, '/accounts/login/?next=/sekrit/')
  File "/Users/jamstooks/workspace/my_project/parts/django/django/test/
testcases.py", line 336, in assertRedirects
    (path, redirect_response.status_code, target_status_code))
AssertionError: Couldn't retrieve redirection page '/auth/login/':
response code was 404 (expected 200)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to