Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RemovedInDjango20Warning - update for deprecation/changes #468

Closed
alexlittle opened this issue May 16, 2018 · 1 comment
Closed

RemovedInDjango20Warning - update for deprecation/changes #468

alexlittle opened this issue May 16, 2018 · 1 comment

Comments

@alexlittle
Copy link
Member

  1. RemovedInDjango20Warning: Old-style middleware using settings.MIDDLEWARE_CLASSES is deprecated. Update your middleware and use settings.MIDDLEWARE instead.
  2. django-oppia/oppia/views.py:48: RemovedInDjango20Warning: Using user.is_authenticated() and user.is_anonymous() as a method is deprecated. Remove the parentheses to use it as an attribute.
  3. models.py:56: RemovedInDjango20Warning: on_delete will be a required arg for ForeignKey in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete
@alexlittle
Copy link
Member Author

Fixed in python3django2 branch (https://github.com/DigitalCampus/django-oppia/tree/python3django2) - will be attached to proper version no once we know in which release we'll switch to python 3 and django 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant