Просмотр исходного кода

Remove custom user app from sandbox

This is to keep the sandbox as vanilla as possible, as it's the
environment that migrations should be built against.
master
Maik Hoepfel 12 лет назад
Родитель
Сommit
30eead5e33
2 измененных файлов: 5 добавлений и 3 удалений
  1. 5
    0
      sites/sandbox/apps/user/models.py
  2. 0
    3
      sites/sandbox/settings.py

+ 5
- 0
sites/sandbox/apps/user/models.py Просмотреть файл

@@ -1,3 +1,8 @@
1
+"""
2
+Sample user/profile models for testing.  These aren't enabled by default in the
3
+sandbox
4
+"""
5
+
1 6
 from django.db import models
2 7
 from django.utils import timezone
3 8
 

+ 0
- 3
sites/sandbox/settings.py Просмотреть файл

@@ -280,7 +280,6 @@ INSTALLED_APPS = [
280 280
     'south',
281 281
     'rosetta',          # For i18n testing
282 282
     'compressor',
283
-    'apps.user',        # For profile testing
284 283
     'apps.gateway',     # For allowing dashboard access
285 284
 ]
286 285
 from oscar import get_core_apps
@@ -304,8 +303,6 @@ HAYSTACK_CONNECTIONS = {
304 303
     },
305 304
 }
306 305
 
307
-AUTH_PROFILE_MODULE = 'user.Profile'
308
-
309 306
 # =============
310 307
 # Debug Toolbar
311 308
 # =============

Загрузка…
Отмена
Сохранить