Skip to main content

Authentication for Django done right

Project description


See the docs at:

Run tests using tox:

$ tox


BSD License.


Release 0.42 (Unreleased)

Release 0.41 (2022-08-16)

  • Fixed: django.conf.urls.url() is deprecated. Also, path() is more concise than re_path(). Change to use path().

  • Fixed: django.shortcuts.render_to_response() is deprecated, change to use django.shortcuts.render().

  • Fixed: django.utils.translation.ugettext_lazy() is deprecated, change to use django.utils.translation.gettext_lazy().

  • Fixed: django.utils.encoding.force_text() is deprecated, change to use django.utils.encoding.force_str().

  • Fixed: Deprecated assertEquals() in unittest used by Django, changed to assertEqual().

Release 0.40 (2021-12-28)

  • Support Django-3.2

  • Support Python-3.7, 3.8, 3.9, 3.10

  • Drop Django-1.11, 3.1

  • Drop Python-2.7

Release 0.39 (2020-04-30)

  • Fixed: If login_required is used with Python3, login authentication after the second time fails.

  • Support Django-2.2

  • Drop Django-1.10

Release 0.38 (2018-09-20)

  • Add missing classifiers: py36, dj versions.

  • provide universal wheel

  • Add feature: send logged in signal & logged out signal

  • Security: masking sensitive post parameter

  • Security: safe redirect url for open redirect possibility

  • Security: strict safety check for redirect url

Release 0.37 (2017-05-15)

  • Support Python-3.6

  • Support Django-1.11

  • Drop Django-1.9

Release 0.36 (2016-12-14)

  • Fixed: issue #7 Exception Type: AttributeError at /logout/

Release 0.35 (2016-11-30)

  • ‘newauth.middleware.AuthMiddleware’ supports settings.MIDDLEWARE since django-1.10

Release 0.34 (2016-11-25)

Release 0.33 (2016-02-01)

  • More support Django-1.8 & 1.9

Release 0.32 (2016-01-19)

  • Support Django-1.8 & 1.9

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-newauth-0.41.tar.gz (15.7 kB view hashes)

Uploaded source

Built Distribution

django_newauth-0.41-py3-none-any.whl (19.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page