diff --git a/requirements.txt b/requirements.txt index 5ed94caad..7e289c97e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,6 +3,8 @@ MySQL-python psycopg2 beautifulsoup4 model_mommy +django-admin-bootstrapped +django-bootstrap3 ipdb django-extensions diff --git a/sapl/settings.py b/sapl/settings.py index 53a89098a..7960b04e2 100644 --- a/sapl/settings.py +++ b/sapl/settings.py @@ -31,6 +31,7 @@ ALLOWED_HOSTS = ['*'] # Application definition INSTALLED_APPS = ( + 'django_admin_bootstrapped', # must come before django.contrib.admin 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', @@ -55,6 +56,7 @@ INSTALLED_APPS = ( # more 'django_extensions', + 'bootstrap3', ) MIDDLEWARE_CLASSES = ( @@ -131,3 +133,5 @@ USE_TZ = True # https://docs.djangoproject.com/en/1.8/howto/static-files/ STATIC_URL = '/static/' + +DAB_FIELD_RENDERER = 'django_admin_bootstrapped.renderers.BootstrapFieldRenderer'