yourlabs / django-session-security

A little javascript and middleware work together to ensure that the user was active during the past X minutes in any tab he has open. Otherwise, display a warning leaving a couple of minutes to show any kind of activity like moving the mouse. Otherwise, logout the user.
http://django-session-security.rtfd.org
MIT License
309 stars 142 forks source link

Django 3 deprecation warnings #142

Closed coremayo closed 2 years ago

coremayo commented 3 years ago

Hi,

Using the latest version in projects with Django 3.1 or newer results in the following warning:

RemovedInDjango40Warning: django.conf.urls.url() is deprecated in favor of django.urls.re_path().

This resolves that warning and also adds 3.1 and 3.2 to the test matrix.

taylor-shift commented 3 years ago

Please merge this

JanMalte commented 2 years ago

@jpic could you merge this and create a new release/tag so we can continue using your great work with Django 3.2 and Django 4.0? Or is there something else we can do to get the changes released soon?

lpmhouben commented 2 years ago

Merging this is going to become more than a bit urgent as Django 4.0 is being rolled out and django.conf.urls.url() has been entirely removed.