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-admin-bootstrapped
django-bootstrap3 django-bootstrap3
django-braces django-braces
django-crispy-forms
django-vanilla-views django-vanilla-views
mysqlclient mysqlclient
psycopg2 psycopg2

4
sapl/settings.py

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

Loading…
Cancel
Save