🍻 Make coffee, closes #54

This commit is contained in:
Yohann D'ANELLO 2020-08-10 15:36:41 +02:00
parent ccfc1e74ac
commit 3a52af33a2
3 changed files with 10 additions and 4 deletions

View File

@ -27,13 +27,14 @@ ALLOWED_HOSTS = [
INSTALLED_APPS = [ INSTALLED_APPS = [
# External apps # External apps
'bootstrap_datepicker_plus',
'colorfield',
'crispy_forms',
'django_htcpcp_tea',
'django_tables2',
'mailer', 'mailer',
'phonenumber_field', 'phonenumber_field',
'polymorphic', 'polymorphic',
'crispy_forms',
'django_tables2',
'bootstrap_datepicker_plus',
'colorfield',
# Django contrib # Django contrib
'django.contrib.admin', 'django.contrib.admin',
@ -74,6 +75,7 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.locale.LocaleMiddleware', 'django.middleware.locale.LocaleMiddleware',
'django.contrib.sites.middleware.CurrentSiteMiddleware', 'django.contrib.sites.middleware.CurrentSiteMiddleware',
'django_htcpcp_tea.middleware.HTCPCPTeaMiddleware',
'note_kfet.middlewares.TurbolinksMiddleware', 'note_kfet.middlewares.TurbolinksMiddleware',
] ]

View File

@ -31,6 +31,9 @@ urlpatterns = [
path('accounts/', include('django.contrib.auth.urls')), path('accounts/', include('django.contrib.auth.urls')),
path('api/', include('api.urls')), path('api/', include('api.urls')),
path('permission/', include('permission.urls')), path('permission/', include('permission.urls')),
# Make coffee
path('coffee/', include('django_htcpcp_tea.urls')),
] ]
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

View File

@ -7,6 +7,7 @@ django-allauth==0.39.1
django-crispy-forms==1.7.2 django-crispy-forms==1.7.2
django-extensions==2.1.9 django-extensions==2.1.9
django-filter==2.2.0 django-filter==2.2.0
django-htcpcp-tea==0.3.1
django-mailer==2.0.1 django-mailer==2.0.1
django-phonenumber-field==4.0.0 django-phonenumber-field==4.0.0
django-polymorphic==2.0.3 django-polymorphic==2.0.3