Skip to content

Commit

Permalink
Added: mySQL database configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
gummoe committed Aug 9, 2015
1 parent 1b9f9b0 commit 90be8f2
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 5 deletions.
Binary file added MultipleChoiceQuiz/DjangoMultipleChoice/__init__.pyc
Binary file not shown.
Binary file added MultipleChoiceQuiz/DjangoMultipleChoice/admin.pyc
Binary file not shown.
Binary file not shown.
Binary file added MultipleChoiceQuiz/DjangoMultipleChoice/models.pyc
Binary file not shown.
13 changes: 8 additions & 5 deletions MultipleChoiceQuiz/MultipleChoiceQuiz/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'DjangoMultipleChoice',
'django.contrib.admin',
'DjangoMultipleChoice'
)

MIDDLEWARE_CLASSES = (
Expand Down Expand Up @@ -78,8 +77,12 @@

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'ENGINE': 'django.db.backends.mysql',
'NAME': 'multiple_choice_quiz',
'USER': 'root',
'PASSWORD': 'root',
'HOST': '127.0.0.1',
'PORT': '3306'
}
}

Expand All @@ -89,7 +92,7 @@

LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'UTC'
TIME_ZONE = 'America/New_York'

USE_I18N = True

Expand Down
Binary file modified MultipleChoiceQuiz/MultipleChoiceQuiz/settings.pyc
Binary file not shown.
Binary file added MultipleChoiceQuiz/MultipleChoiceQuiz/urls.pyc
Binary file not shown.
Binary file added MultipleChoiceQuiz/MultipleChoiceQuiz/wsgi.pyc
Binary file not shown.

0 comments on commit 90be8f2

Please sign in to comment.