Kaynağa Gözat

Removed local settings file

master
David Winterbottom 14 yıl önce
ebeveyn
işleme
12b5e8e1f0
3 değiştirilmiş dosya ile 2 ekleme ve 19 silme
  1. 1
    0
      .gitignore
  2. 1
    3
      oscar/apps/stock/abstract_models.py
  3. 0
    16
      settings_local.py

+ 1
- 0
.gitignore Dosyayı Görüntüle

@@ -1,5 +1,6 @@
1 1
 *.pyc
2 2
 local_settings.py
3
+settings_local.py
3 4
 fixtures/*
4 5
 product-images/*
5 6
 *.swp

+ 1
- 3
oscar/apps/stock/abstract_models.py Dosyayı Görüntüle

@@ -1,10 +1,8 @@
1
-import datetime
2
-
3 1
 from django.conf import settings
4 2
 from django.db import models
5 3
 from django.utils.translation import ugettext_lazy as _
6 4
 
7
-from oscar.apps.stock.wrappers import get_partner_wrapper, DefaultWrapper
5
+from oscar.apps.stock.wrappers import get_partner_wrapper
8 6
 
9 7
 
10 8
 class AbstractPartner(models.Model):

+ 0
- 16
settings_local.py Dosyayı Görüntüle

@@ -1,16 +0,0 @@
1
-DEBUG = True
2
-TEMPLATE_DEBUG = DEBUG
3
-
4
-# Output emails to STDOUT
5
-EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
6
-
7
-DATABASES = {
8
-    'default': {
9
-        'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
10
-        'NAME': 'oscar_vanilla',                      # Or path to database file if using sqlite3.
11
-        'USER': 'root',                      # Not used with sqlite3.
12
-        'PASSWORD': 'gsiwmm',                  # Not used with sqlite3.
13
-        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
14
-        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
15
-    }
16
-}

Loading…
İptal
Kaydet