Zeitzone eingestellt

This commit is contained in:
Holger Trampe 2019-12-09 22:14:27 +01:00
parent 65cf6563d2
commit 50286d1c6a
5 changed files with 4 additions and 4 deletions

View File

@ -149,7 +149,8 @@ AUTH_PASSWORD_VALIDATORS = [
LANGUAGE_CODE = 'de'
TIME_ZONE = 'UTC'
TIME_ZONE = 'CET'
USE_I18N = True
@ -176,7 +177,7 @@ STATIC_URL = '/static/'
SITE_ROOT = os.path.dirname(os.path.realpath(__file__)) + '/..'
STATIC_ROOT = (os.path.join(SITE_ROOT, 'users/static/'))
#STATICFILES_DIRS = (os.path.join(SITE_ROOT, 'users/static/'),)
# CRISPY
CRISPY_TEMPLATE_PACK = 'bootstrap4'

View File

@ -350,4 +350,4 @@
}
}
</script>
</script>

View File

@ -49,7 +49,6 @@ class AgencyCreateView(CreateView):
[form.cleaned_data.get('email')],
fail_silently=False,
)
return super().form_valid(form)
@login_required