Django 1.7 has renamed the Manager.get_query_set to get_queryset. Using the old get_query_set now raises a deprecation warning.
/home/tim/programs/python/tfs-roster/venv/lib/python3.4/site-packages/positions/managers.py:31: RemovedInDjango18Warning: `PositionManager.get_query_set` method should be renamed `get_queryset
I have seen some projects rename get_query_set to get_queryset for forwards compatibility, and then add get_query_set = get_queryset directly underneath to keep compatibility with old Django code.
Django 1.7 has renamed the
Manager.get_query_set
toget_queryset
. Using the oldget_query_set
now raises a deprecation warning.I have seen some projects rename
get_query_set
toget_queryset
for forwards compatibility, and then addget_query_set = get_queryset
directly underneath to keep compatibility with old Django code.