Mercurial > public > sg101
view custom_search/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 | 78b459d4ab17 |
children |
line wrap: on
line source
from django.apps import AppConfig class CustomSearchConfig(AppConfig): name = 'custom_search' verbose_name = 'Custom Search' def ready(self): import custom_search.receivers