mirror of
https://github.com/Mistake35/Cedar-Django.git
synced 2026-07-17 16:11:14 +10:00
Add instructions for setting it up with MySQL/MariaDB, add updating Django to an idea for README.foreskin, add requirements.txt and update README to use it
This commit is contained in:
@@ -99,6 +99,18 @@ DATABASES = {
|
||||
'NAME': os.path.join(BASE_DIR, 'sql.sqlite3'),
|
||||
}
|
||||
}
|
||||
# Uncomment the below and comment the above DATABASES to use MySQL instead of SQLite.
|
||||
#DATABASES = {
|
||||
# 'default': {
|
||||
# 'ENGINE': 'django.db.backends.mysql',
|
||||
# 'NAME': 'database-name',
|
||||
# 'USER': 'username',
|
||||
# 'PASSWORD': 'user-password',
|
||||
# 'HOST': '127.0.0.1',
|
||||
# 'PORT': '3306',
|
||||
# }
|
||||
#}
|
||||
|
||||
|
||||
# Password validation
|
||||
# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators
|
||||
|
||||
Reference in New Issue
Block a user