Ghost Redirects in Django...

Image

What happens when you add a redirect to django urlconf, and later remove it? The browser, keeps redirecting without acknowledging the change in your urlconf! The solution is quite simple, but when in the middle of a deployment marathon, you might just overlook the simplest solution... clear the browser's cache!

Well... I made that mistake of hunting for a difficult solution when answer was obvious, so instead of hiding the fact - let me put it out here, so I'll remember it even better if I encounter a similar problem again ;)

Cheers! Keep calm and hack on!

Python import OCD

Screen_shot_2012-04-02_at_11

I highly prefer imports to be lined up so the longest names are at bottom. I break this to conform to PEP8 for grouping them properly, but with much cringing.

Does anybody else feel like this? O_o
Tagged geek screenshot