Thoughts on Rails

Riding the Train of Thought

Ghost Redirects in Django…

leave a comment »


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!


Written by hiway

April 23, 2012 at 4:13 am

Posted in programming, python

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: