Mercurial > public > sg101
view forums/apps.py @ 991:4aadaf3bc234
Added SITE_SCHEME setting.
Configure site scheme to be either http or https based on SITE_SCHEME setting.
Updated code to use it.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 01 Nov 2015 15:56:05 -0600 |
parents | 5902dc5e58a3 |
children |
line wrap: on
line source
from django.apps import AppConfig class ForumsConfig(AppConfig): name = 'forums' def ready(self): import forums.receivers import forums.latest