Browse Source

Install foundation with bower

pull/6/head
Marcio Mazza 10 years ago
parent
commit
b0f4ff5ff2
  1. 2
      .gitignore
  2. 14
      sapl/settings.py

2
.gitignore

@ -77,4 +77,4 @@ target/
# specific to this project # specific to this project
static static
bower_components bower

14
sapl/settings.py

@ -52,15 +52,10 @@ INSTALLED_APPS = (
# more # more
'django_extensions', 'django_extensions',
'bootstrap3', 'djangobower',
'bootstrap3', # basically for django_admin_bootstrapped
'crispy_forms', 'crispy_forms',
# zurb foundation
'foundation',
'crispy_forms_foundation', 'crispy_forms_foundation',
# bower
'djangobower',
) )
MIDDLEWARE_CLASSES = ( MIDDLEWARE_CLASSES = (
@ -135,7 +130,7 @@ DAB_FIELD_RENDERER = \
CRISPY_TEMPLATE_PACK = 'foundation-5' CRISPY_TEMPLATE_PACK = 'foundation-5'
CRISPY_FAIL_SILENTLY = not DEBUG CRISPY_FAIL_SILENTLY = not DEBUG
BOWER_COMPONENTS_ROOT = os.path.join(BASE_DIR, "bower_components") BOWER_COMPONENTS_ROOT = os.path.join(BASE_DIR, "bower")
STATICFILES_FINDERS = ( STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.FileSystemFinder',
@ -144,8 +139,7 @@ STATICFILES_FINDERS = (
) )
BOWER_INSTALLED_APPS = ( BOWER_INSTALLED_APPS = (
'jquery#1.9', 'foundation',
'underscore',
'foundation-datepicker', 'foundation-datepicker',
'components-font-awesome', 'components-font-awesome',
'foundation-icon-fonts', 'foundation-icon-fonts',

Loading…
Cancel
Save