Change default site name with project fixture

This commit is contained in:
Alexandre Iooss 2020-02-20 22:15:28 +01:00
parent 362880511d
commit 20953ff214
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,10 @@
[
{
"model": "sites.site",
"pk": 1,
"fields": {
"domain": "localhost",
"name": "La Note Kfet \ud83c\udf7b"
}
}
]

View File

@ -160,6 +160,8 @@ USE_TZ = True
LOCALE_PATHS = [os.path.join(BASE_DIR, "locale")] LOCALE_PATHS = [os.path.join(BASE_DIR, "locale")]
FIXTURE_DIRS = [os.path.join(BASE_DIR, "note_kfet/fixtures")]
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.2/howto/static-files/ # https://docs.djangoproject.com/en/2.2/howto/static-files/