mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-02-25 09:26:29 +00:00
Compare commits
2 Commits
82fea65b5e
...
fb3337966e
Author | SHA1 | Date | |
---|---|---|---|
|
fb3337966e | ||
|
399a32bece |
@ -40,6 +40,7 @@ INSTALLED_APPS = [
|
||||
# External apps
|
||||
'bootstrap_datepicker_plus',
|
||||
'colorfield',
|
||||
'crispy_bootstrap4',
|
||||
'crispy_forms',
|
||||
# 'django_htcpcp_tea',
|
||||
'django_tables2',
|
||||
@ -279,6 +280,7 @@ LOGIN_REDIRECT_URL = '/'
|
||||
SESSION_COOKIE_AGE = 60 * 60 * 3
|
||||
|
||||
# Use Crispy Bootstrap4 theme
|
||||
CRISPY_ALLOWED_TEMPLATE_PACKS = 'bootstrap4'
|
||||
CRISPY_TEMPLATE_PACK = 'bootstrap4'
|
||||
|
||||
# Use Django Table2 Bootstrap4 theme
|
||||
@ -300,3 +302,6 @@ PHONENUMBER_DEFAULT_REGION = 'FR'
|
||||
|
||||
# We add custom information to CAS, in order to give a normalized name to other services
|
||||
CAS_AUTH_CLASS = 'member.auth.CustomAuthUser'
|
||||
|
||||
# Default field for primary key
|
||||
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
|
||||
|
@ -1,4 +1,5 @@
|
||||
beautifulsoup4~=4.12.3
|
||||
crispy-bootstrap4~=2023.1
|
||||
Django~=4.2.9
|
||||
django-bootstrap-datepicker-plus~=5.0.5
|
||||
#django-cas-server~=2.0.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user