Add Sites/Pages listing to admin, as per #1744

This commit is contained in:
Griatch 2019-08-15 01:06:10 +02:00
parent 5716faa064
commit 792b52a77c
2 changed files with 61 additions and 31 deletions

View file

@ -763,8 +763,8 @@ STAFF_CONTACT_EMAIL = None
# Absolute path to the directory that holds file uploads from web apps.
# Example: "/home/media/media.lawrence.com"
MEDIA_ROOT = os.path.join(GAME_DIR, "web", "media")
# It's safe to dis-regard this, as it's a Django feature we only half use as a
# dependency, not actually what it's primarily meant for.
# If using Sites/Pages from the web admin, this value must be set to the
# database-id of the Site (domain) we want to use with this game's Pages.
SITE_ID = 1
# The age for sessions.
# Default: 1209600 (2 weeks, in seconds)