0001-misc-livereload-setup-68827.patch
combo/context_processors.py | ||
---|---|---|
23 | 23 |
def template_vars(request): |
24 | 24 |
context_extras = {} |
25 | 25 |
context_extras['debug'] = settings.DEBUG |
26 |
context_extras['livereload_enabled'] = settings.LIVERELOAD_ENABLED |
|
26 | 27 |
context_extras['pwa_settings'] = cache_during_request(PwaSettings.singleton) |
27 | 28 |
context_extras.update(settings.TEMPLATE_VARS) |
28 | 29 |
return context_extras |
combo/settings.py | ||
---|---|---|
40 | 40 | |
41 | 41 |
# SECURITY WARNING: don't run with debug turned on in production! |
42 | 42 |
DEBUG = True |
43 |
LIVERELOAD_ENABLED = False |
|
43 | 44 | |
44 | 45 |
ALLOWED_HOSTS = [] |
45 | 46 | |
46 |
- |