mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Major improvements to pagination, modals and people listing
This commit is contained in:
@@ -62,11 +62,22 @@ WSGI_APPLICATION = 'PyRIGS.wsgi.application'
|
||||
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/1.7/ref/settings/#databases
|
||||
|
||||
try:
|
||||
import pymysql
|
||||
pymysql.install_as_MySQLdb()
|
||||
except ImportError:
|
||||
pass
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
||||
},
|
||||
'legacy': {
|
||||
'ENGINE': 'django.db.backends.mysql',
|
||||
'HOST': 'alfie.codedinternet.com',
|
||||
'NAME': 'tec_rigs',
|
||||
'USER': 'tec_rigs',
|
||||
'PASSWORD': 'xMNb(b+Giu]&',
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user