X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;ds=sidebyside;f=plgng%2Fsettings.py;h=24f298b3a228950f9ebfca4d0472d3a3422325ba;hb=cb292970db9b3ea3054212858abb5eebe73f0fd9;hp=7f383e63aaec0dbbb096689fcfd3d421ea3152b3;hpb=c27b8d74ed12e3b6229382a50c77fc2bf6bae577;p=qcg-portal.git diff --git a/plgng/settings.py b/plgng/settings.py index 7f383e6..24f298b 100644 --- a/plgng/settings.py +++ b/plgng/settings.py @@ -44,6 +44,7 @@ INSTALLED_APPS = ( 'django.contrib.webdesign', 'qcg', 'django_openid_auth', + 'bootstrap3', ) MIDDLEWARE_CLASSES = ( @@ -89,6 +90,9 @@ USE_L10N = True USE_TZ = True +CUSTOM_DATETIME_FORMAT = 'j b Y, H:i' + + # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.7/howto/static-files/ @@ -123,3 +127,12 @@ OPENID_STRICT_USERNAMES = True SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer' + + +# 3-rd party settings + +BOOTSTRAP3 = { + 'horizontal_label_class': 'col-md-4', + 'horizontal_field_class': 'col-md-6', + 'set_placeholder': False, +}