Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert changes to DATABASES formatting in settings.py

  • Loading branch information...
commit 7f40103ff1803503e0348e4134b60b587456c56f 1 parent ee32488
@pcraciunoiu pcraciunoiu authored
Showing with 7 additions and 13 deletions.
  1. +7 −13 settings.py
View
20 settings.py
@@ -7,7 +7,7 @@
LOG_LEVEL = logging.DEBUG
ROOT = os.path.dirname(os.path.abspath(__file__))
-path = lambda * a: os.path.join(ROOT, * a)
+path = lambda *a: os.path.join(ROOT, *a)
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
@@ -17,18 +17,12 @@
DATABASES = {
'default': {
- # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
- 'ENGINE': 'django.db.backends.mysql',
- # Or path to database file if using sqlite3.
- 'NAME': 'kitsune',
- # Not used with sqlite3.
- 'USER': '',
- # Not used with sqlite3.
- 'PASSWORD': '',
- # Set to empty string for localhost. Not used with sqlite3.
- 'HOST': '',
- # Set to empty string for default. Not used with sqlite3.
- 'PORT': '',
+ 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+ 'NAME': 'kitsune', # Or path to database file if using sqlite3.
+ 'USER': '', # Not used with sqlite3.
+ 'PASSWORD': '', # Not used with sqlite3.
+ 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
+ 'PORT': '', # Set to empty string for default. Not used with sqlite3.
'OPTIONS': {'init_command': 'SET storage_engine=InnoDB'},
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.