1. David Paccoud
  2. django-registration

Commits

James Bennett  committed 6dbea66

Add backwards-compatible registration.urls, but have it warn pending deprecation.

  • Participants
  • Parent commits 7daa4c8
  • Branches default

Comments (0)

Files changed (1)

File registration/urls.py

View file
  • Ignore whitespace
+import warnings
+
+warnings.warn("Using include('registration.urls') is deprecated; use include('registration.backends.default.urls') instead",
+              PendingDeprecationWarning)
+
+from registration.backends.default.urls import *