django-heythere
django-heythere copied to clipboard
RemovedInDjango18Warning in Django 1.7
After upgrading to Django 1.7.4. I get two warnings when I run: python manage.py createmigrations:
python2.7/site-packages/heythere/models.py:37: RemovedInDjango18Warning: NotificationManager.get_query_set method should be renamed get_queryset.
python2.7/site-packages/heythere/admin.py:15: RemovedInDjango18Warning: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is deprecated - form NotificationForm needs updating
I also experienced this as well. I solved by adding fields = 'all' to the Meta class of NotificationForm.
https://docs.djangoproject.com/en/1.8/topics/forms/modelforms/#selecting-the-fields-to-use