Browse Source

Install django-crispy-forms

pull/6/head
Marcio Mazza 10 years ago
parent
commit
d43f026156
  1. 1
      requirements/requirements.txt
  2. 4
      sapl/settings.py

1
requirements/requirements.txt

@ -2,6 +2,7 @@ Django
django-admin-bootstrapped
django-bootstrap3
django-braces
django-crispy-forms
django-vanilla-views
mysqlclient
psycopg2

4
sapl/settings.py

@ -55,6 +55,7 @@ INSTALLED_APPS = (
# more
'django_extensions',
'bootstrap3',
'crispy_forms',
)
MIDDLEWARE_CLASSES = (
@ -129,3 +130,6 @@ STATIC_URL = '/static/'
DAB_FIELD_RENDERER = \
'django_admin_bootstrapped.renderers.BootstrapFieldRenderer'
CRISPY_TEMPLATE_PACK = 'bootstrap3'
CRISPY_FAIL_SILENTLY = not DEBUG

Loading…
Cancel
Save