stefanfoulis / django-class-based-auth-views

MIT License
81 stars 24 forks source link

Django 1.8 deprecarted warnings #13

Open mr-linch opened 9 years ago

mr-linch commented 9 years ago

When I use that package in my Django 1.8.4 project I get these warnings:

/home/linch/.pyenv/versions/metrophysics/lib/python3.4/site-packages/class_based_auth_views/views.py:63: RemovedInDjango19Warning: `request.REQUEST` is deprecated, use `request.GET` or `request.POST` instead.
  redirect_to = self.request.REQUEST.get(self.redirect_field_name, '')

/home/linch/.pyenv/versions/metrophysics/lib/python3.4/site-packages/django/core/handlers/wsgi.py:126: RemovedInDjango19Warning: `MergeDict` is deprecated, use `dict.update()` instead.
  self._request = datastructures.MergeDict(self.POST, self.GET)

If you want, I can fork repository and fix theses warnings.

Thanks.