Skip to content
Snippets Groups Projects
Commit a7054749 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Enable overwritting of django tempalte forms and update apps to not clash

parent b77d5141
No related branches found
No related tags found
No related merge requests found
default_app_config = 'opentech.public.forms.apps.FormsConfig'
from django.apps import AppConfig
class FormsConfig(AppConfig):
name = 'opentech.public.forms'
label = 'public_forms'
......@@ -10,7 +10,7 @@ class Migration(migrations.Migration):
dependencies = [
('images', '0001_initial'),
('forms', '0001_initial'),
('public_forms', '0001_initial'),
]
operations = [
......
......@@ -60,6 +60,7 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sitemaps',
'django.forms',
]
MIDDLEWARE = [
......@@ -98,6 +99,8 @@ TEMPLATES = [
},
]
FORM_RENDERER = 'django.forms.renderers.TemplatesSetting'
WSGI_APPLICATION = 'opentech.wsgi.application'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment