/usr/lib/python2.7/dist-packages/registration/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 | """
Backwards-compatible URLconf for existing django-registration
installs; this allows the standard ``include('registration.urls')`` to
continue working, but that usage is deprecated and will be removed in
a future release. For new installs, use
``include('registration.backends.model_activation.urls')``.
"""
import warnings
from registration.backends.model_activation import urls as model_urls
warnings.warn(
"include('registration.urls') is deprecated; use "
"include('registration.backends.model_activation.urls') instead.",
DeprecationWarning
)
urlpatterns = model_urls.urlpatterns
|