Permalink
Browse files

update test_settings format for django 1.4

  • Loading branch information...
1 parent 95aa15a commit 815e049be7129ad258e63655dbc842462900bb7f Japhy Bartlett committed Apr 13, 2012
Showing with 11 additions and 1 deletion.
  1. +11 −1 model_mommy/tests/test_settings.py
@@ -4,6 +4,16 @@
INSTALLED_APPS = ('model_mommy', 'django.contrib.contenttypes')
-DATABASE_ENGINE = 'sqlite3'
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+ 'NAME': '', # 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.
+ }
+}
+
SITE_ID = 1

0 comments on commit 815e049

Please sign in to comment.