Major improvements to pagination, modals and people listing

This commit is contained in:
Tom Price
2014-11-04 02:44:11 +00:00
parent 13c4bc34be
commit df63d8d0de
10 changed files with 267 additions and 33 deletions

View File

@@ -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]&',
}
}