Browse Source

Use django-admin-bootstrapped

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

2
requirements.txt

@ -3,6 +3,8 @@ MySQL-python
psycopg2 psycopg2
beautifulsoup4 beautifulsoup4
model_mommy model_mommy
django-admin-bootstrapped
django-bootstrap3
ipdb ipdb
django-extensions django-extensions

4
sapl/settings.py

@ -31,6 +31,7 @@ ALLOWED_HOSTS = ['*']
# Application definition # Application definition
INSTALLED_APPS = ( INSTALLED_APPS = (
'django_admin_bootstrapped', # must come before django.contrib.admin
'django.contrib.admin', 'django.contrib.admin',
'django.contrib.auth', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.contenttypes',
@ -55,6 +56,7 @@ INSTALLED_APPS = (
# more # more
'django_extensions', 'django_extensions',
'bootstrap3',
) )
MIDDLEWARE_CLASSES = ( MIDDLEWARE_CLASSES = (
@ -131,3 +133,5 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.8/howto/static-files/ # https://docs.djangoproject.com/en/1.8/howto/static-files/
STATIC_URL = '/static/' STATIC_URL = '/static/'
DAB_FIELD_RENDERER = 'django_admin_bootstrapped.renderers.BootstrapFieldRenderer'

Loading…
Cancel
Save