Upgrading to Django 1.5
Posted: | More posts about python django
In the process of upgrading our apps to Django 1.5 from 1.4. Discovered the following so far:-
- URLField drop verify_exists parameter.
 - New url tag syntax - we seem to use the old syntax a lot, fortunately one line sed can fix it.
 - Django form output changed a bit - we have test that check for output like 
<input id="id_em" type="text" name="em". This has changed to<input id="id_em" name="em" size="25" type="text". Can't find reference to this though. settings.ALLOWED_HOSTnow required ifDEBUG = False. Without this settings, you'll get 500 error without further output in the error log.
Of course the list of changes lot more but these were the one that affected us.
Web developer in Malaysia. Currently work at