Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8037933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:04:20+00:00 2026-06-05T03:04:20+00:00

I recently upgraded my django framework from 1.3 to 1.4. Today I ran some

  • 0

I recently upgraded my django framework from 1.3 to 1.4. Today I ran some tests on the login page. I have a switch which determines whether a ‘reset password’ link should be displayed on the login screen. This test worked nicely under 1.3, but doesn’t under 1.4.

I’ve setup my own view and template for the login page as follows:

urlpatterns = patterns('framework.views',
    url(r'^$', 'index'),
    url(r'^login/$', 'login_view'),
    url(r'^logout/$', 'logout_view'),
...

Upon some further investigation I noticed that if I browse to the login page the first time, it works. If I then remove the entries from my urls.py file (ie the /login/ entries), I can still browse to the /login/ page. Even when I restart the django test server, that url entry is still valid. Even deleting the urls.pyc file doesn’t give me a 404. Its only when I try and post, that I’ll get a 404. Incidentally, this phenomenon doesn’t happen for some of my other urls.

I have a feeling the reason why my tests fail is that django somehow caches the /login/ request in some mysterious way and so the login page never refreshes for each of the tests I run on the screen. Does anybody know how to overcome this problem and perhaps also why it is that this particular feature has changed. Does it have anything to do with the newly implemented template response??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:04:22+00:00Added an answer on June 5, 2026 at 3:04 am

    Do you use firefox? Try to remove Firefox cache, or whatever browser’s cache you are using…

    I ran into the same issue yesterday. I look around and i found a lot of people having this issue. Have a look at this…

    Don’t blame django as i did in first place 😉 (i blamed me later, before knowing the real problem)…

    Let’s blame the protocol 😛

    Hope this solves your problem!

    EDIT:
    Here you have some possible solutions to your problem (if you use firefox):

    1) http://support.mozilla.org/es/questions/848678

    2) https://superuser.com/questions/23134/how-to-turn-off-firefox-cache

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently upgrade Django from v1.3.1 to v1.4. In my old settings.py I have
I recently upgraded from jQuery 1.2.6 to 1.3.2 Now on the page I'm using
We recently upgraded a very large project from .NET framework 3.5 to 4, and
Recently upgraded from BC 1.34 to 1.45. I'm decoding some previously-encoded data with the
I recently upgraded to eclipse indigo from galileo. There has been some changes in
I recently upgraded my solution from .net framework 3.5 to 4.0. All good except
I recently upgraded a Web Application Project (as well as some dependent projects) from
I recently upgraded to SilverLight 3 (beta) and for some reason the SilverLight plug
I recently upgraded my machine from Leopard to Snow Leopard. Also I installed the
I recently upgraded my app from Spring 2.5.6 to Spring 3.0.0. A few days

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.