File: urls.py

package info (click to toggle)
python-django-registration 2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 708 kB
  • ctags: 293
  • sloc: python: 1,601; makefile: 85
file content (22 lines) | stat: -rw-r--r-- 608 bytes parent folder | download | duplicates (4)
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