[extensions-web/django/upgrade-1.8: 5/7] Removed "sweettooth" prefix from modules for now.



commit 983f5a26ce142637c0e15df02786ab679a178860
Author: Yuri Konotopov <ykonotopov gmail com>
Date:   Sun Oct 23 02:15:48 2016 +0300

    Removed "sweettooth" prefix from modules for now.
    
    This prefix breaks tests. However "manage.py" script should be moved one
    level up and all our import modules should be prefixed with "sweettooth".

 sweettooth/settings.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/sweettooth/settings.py b/sweettooth/settings.py
index 61495ec..b8a8057 100644
--- a/sweettooth/settings.py
+++ b/sweettooth/settings.py
@@ -84,7 +84,7 @@ MIDDLEWARE_CLASSES = (
     'django.contrib.messages.middleware.MessageMiddleware',
 )
 
-ROOT_URLCONF = 'sweettooth.urls'
+ROOT_URLCONF = 'urls'
 
 TEMPLATE_DIRS = (
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
@@ -100,8 +100,8 @@ TEMPLATE_CONTEXT_PROCESSORS = (
     "django.core.context_processors.media",
     "django.core.context_processors.request",
     "django.contrib.messages.context_processors.messages",
-    "sweettooth.review.context_processors.n_unreviewed_extensions",
-    "sweettooth.auth.context_processors.login_form",
+    "review.context_processors.n_unreviewed_extensions",
+    "auth.context_processors.login_form",
 )
 
 ACCOUNT_ACTIVATION_DAYS = 5


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