Drop Python 2.5 support
Fix urlconf imports for Django 1.3