/usr/lib/python2.7/dist-packages/registration/backends/default/urls.py is in python-django-registration 2.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | """
Backwards-compatible support for include()-ing the model-based
activation workflow's URLconf.
The new location for that URLconf is
registration.backends.model_activation.urls. Using include() with
registration.backends.default.urls will raise deprecation warnings,
and support for it will be removed in a future release.
"""
import warnings
from registration.backends.model_activation import urls as model_urls
warnings.warn(
"registration.backends.default.urls is deprecated; "
"use registration.backends.model_activation.urls instead.",
DeprecationWarning
)
urlpatterns = model_urls.urlpatterns
|