瀏覽代碼

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 年之前
父節點
當前提交
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
 # =============

Loading…
取消
儲存