Create Database

Brightcells 7 years ago
parent
commit
2a288e9241
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pai2/settings.py

+ 2 - 0
pai2/settings.py

@@ -117,6 +117,8 @@ WSGI_APPLICATION = 'pai2.wsgi.application'
117 117
 # https://docs.djangoproject.com/en/1.8/ref/settings/#databases
118 118
 
119 119
 DATABASES = {
120
+    # Create Database
121
+    # CREATE DATABASE pai2 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
120 122
     'default': {
121 123
         'ENGINE': 'django.db.backends.mysql',
122 124
         'NAME': 'pai2',