~petersanchez/django-impersonate#73: 
documentation: urls.py uses 'path' instead of 'urls'

The first steps guide for django-impersonate recommends to use in urls.py:

 url(r'^impersonate/', include('impersonate.urls')),

In my Django 4.2 project, after getting a warning, I instead used:

 path(r"impersonate/", include("impersonate.urls")),

I double-checked the django docs and path() seems to be the recomended mode.

The documentation could be updated (section Use, bullet point 3)

Status
RESOLVED INVALID
Submitter
kristian.rother@posteo.de
Assigned to
No-one
Submitted
10 days ago
Updated
3 days ago
Labels
No labels applied.

~petersanchez REPORTED INVALID 3 days ago

What version are you using? This change was made about 5 years ago. See:

https://hg.code.netlandish.com/~petersanchez/django-impersonate/rev/219c5d296015

Most recent version is 1.9.5

~petersanchez 3 days ago

My bad. The title clearly says documentation - I just missed it. Thanks for the catch! This has been done here:

https://hg.code.netlandish.com/~petersanchez/django-impersonate/rev/daf5e0ac67003fb663631055f8c5b536c45125fd

Register here or Log in to comment, or comment via email.