Mercurial > public > sg101
view downloads/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 | 1a832625c047 |
children |
line wrap: on
line source
from django.apps import AppConfig class DownloadsConfig(AppConfig): name = 'downloads' def ready(self): import downloads.receivers