[extensions-web] requirements: upgraded dependencies



commit 22c13514a08bcce6b11ced8b91c0d67d3bab0c11
Author: Claude Paroz <claude 2xlibre net>
Date:   Sat Jan 12 11:39:34 2019 +0100

    requirements: upgraded dependencies
    
    django-autoslug >= 1.9
    django-contrib-comments == 1.9.0
    django-registration == 2.5.2
    
    Closes: https://gitlab.gnome.org/Infrastructure/extensions-web/merge_requests/8
    Signed-off-by: Yuri Konotopov <ykonotopov gnome org>

 requirements.txt        | 6 +++---
 sweettooth/auth/urls.py | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/requirements.txt b/requirements.txt
index d3da3fe..dcdf708 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,7 +1,7 @@
 Django >= 1.11,<1.12
-django-autoslug >= 1.4.1
-django-contrib-comments == 1.7.3
-django-registration == 2.1.2
+django-autoslug >= 1.9
+django-contrib-comments == 1.9.0
+django-registration == 2.5.2
 Pygments >= 1.4
 pillow >= 2.0.0
 chardet >= 2.2.1
diff --git a/sweettooth/auth/urls.py b/sweettooth/auth/urls.py
index ac447e7..ff1d335 100644
--- a/sweettooth/auth/urls.py
+++ b/sweettooth/auth/urls.py
@@ -3,7 +3,7 @@ from django.views.generic.base import TemplateView
 from django.conf.urls import url, include
 from django.contrib.auth import views as auth_views
 from sweettooth.auth import views, forms
-from registration.backends.default.views import RegistrationView
+from registration.backends.model_activation.views import RegistrationView
 
 urlpatterns = [
     url(r'^login/', auth_views.login,
@@ -21,7 +21,7 @@ urlpatterns = [
     url(r'settings/(?P<user>.+)', TemplateView.as_view(template_name='registration/settings.html'),
         name='auth-settings'),
 
-    url(r'', include('registration.backends.default.urls')),
+    url(r'', include('registration.backends.model_activation.urls')),
     url(r'^profile/(?P<user>.+)', views.profile, name='auth-profile'),
     url(r'^profile/', views.profile_redirect, name='auth-profile'),
 ]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]