X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=plgng%2Fsettings.py;h=2e2fed1f08973250006cbc3d3bf2a960894ac921;hb=1fd3869b808683dc35606315f1dc4492c38596b6;hp=d16396c07620270658ca559acddb43623363b705;hpb=7f31f6b03f768014d3f14b309277d32a7f82ce28;p=qcg-portal.git diff --git a/plgng/settings.py b/plgng/settings.py index d16396c..2e2fed1 100644 --- a/plgng/settings.py +++ b/plgng/settings.py @@ -89,6 +89,9 @@ USE_L10N = True USE_TZ = True +CUSTOM_DATETIME_FORMAT = 'j b Y, G:i' + + # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.7/howto/static-files/ @@ -97,6 +100,8 @@ STATIC_URL = '/static/' # Authentication +AUTH_USER_MODEL = 'qcg.User' + AUTHENTICATION_BACKENDS = ( 'django_openid_auth.auth.OpenIDBackend', 'django.contrib.auth.backends.ModelBackend',