fcurella/django-recommends — pull request #15 by coagulant (2014-11-03 10:41:19+00:00)
Title: Django 1.8 compatibility (partial)

Fixes 2 `RemovedInDjango18Warnings`:

* `Manager.get_query_set` -> `Manager.get_queryset`
* `obj._meta.module_name` -> `obj._meta.model_name`

### Disclaimer

This PR doesn't fix one deprecation warning:
TBD: `Fix recommends/storages/djangoorm/storage.py:45: RemovedInDjango18Warning: commit_manually is deprecated`

Django transaction management was substantially changed in 1.6,
providing correct atomic behavior. Old api is removed in 1.8, leaving
an open problem supporting same codebase prior Django 1.6.
One way to do it is drop 1.4 & 1.5 support (1.5 has already reached EOL,
1.4 will probably have its cycle [finished by March of 2015](https://docs.djangoproject.com/en/1.7/internals/release-process/#long-term-support-lts-releases)).
Another way is to make a compatibility wrapper or something like that
to keep 1.4 support (might be tricky).

In case you decide to drop 1.4&1.5 django support, this commit
could be simplified, leaving only one code branch.