Change default DB to SQLite3

This commit is contained in:
Jan Tuomi
2017-10-25 14:31:19 +03:00
parent 70e732ec5a
commit bddc1acdb1
3 changed files with 10 additions and 4 deletions
+1
View File
@@ -15,3 +15,4 @@ node_modules/
db.sqlite3
requirements_henu.txt
/collected_static/
mydatabase
+9
View File
@@ -68,3 +68,12 @@ TELEGRAM_BOT_TOKEN = "<BOT_TOKEN>"
# },
# },
# }
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'mydatabase',
'TEST': {
'NAME': 'sik_test',
},
}
}
@@ -33,10 +33,6 @@ class Migration(migrations.Migration):
],
bases=('webapp.presetrole',),
),
migrations.RemoveField(
model_name='customrole',
name='baserole_ptr',
),
migrations.CreateModel(
name='KaehmyForm',
fields=[