andrewebdev / django-adzone

A django application to manage advertising and advertising zones.
BSD 3-Clause "New" or "Revised" License
87 stars 39 forks source link

Django 1.7 and python 3.4 compatibility #43

Closed xzased closed 9 years ago

xzased commented 9 years ago

fix(admin) - Renamed queryset method to get_queryset given the previous naming convention is deprecated.

fix(models) - Replaced get_user_model with settings.AUTH_USER_MODEL as recommended in django 1.7.

fix(migrations) - Moved south migrations to south_migrations directory.

fix(tests) - Added sites field to AdBase objects on create to be retrieved by the ad manager.

fix - More django 1.7 - python 3.4 compatibility fixes.

xzased commented 9 years ago

South migrations give an error when using django 1.7, it is recommended to move them to another directory and point south to it in the settings. This PR is just a suggestion.