diff --git a/digitaleagentur/__pycache__/settings.cpython-38.pyc b/digitaleagentur/__pycache__/settings.cpython-38.pyc index 8e410ff..8777e5f 100644 Binary files a/digitaleagentur/__pycache__/settings.cpython-38.pyc and b/digitaleagentur/__pycache__/settings.cpython-38.pyc differ diff --git a/digitaleagentur/settings.py b/digitaleagentur/settings.py index a67ee0b..3efaae2 100644 --- a/digitaleagentur/settings.py +++ b/digitaleagentur/settings.py @@ -170,7 +170,11 @@ LOGIN_URL = 'login' STATIC_URL = '/static/' SITE_ROOT = os.path.dirname(os.path.realpath(__file__)) + '/..' -STATIC_ROOT = (os.path.join(SITE_ROOT, 'users/static/')) +#STATIC_ROOT = (os.path.join(SITE_ROOT, 'users/static/')) + +STATICFILES_DIRS = ( + os.path.join(SITE_ROOT, 'users/static/'), +) # CRISPY CRISPY_TEMPLATE_PACK = 'bootstrap4' diff --git a/standards/templatetags/__pycache__/counter_tag.cpython-38.pyc b/standards/templatetags/__pycache__/counter_tag.cpython-38.pyc index 7758693..4e1b812 100644 Binary files a/standards/templatetags/__pycache__/counter_tag.cpython-38.pyc and b/standards/templatetags/__pycache__/counter_tag.cpython-38.pyc differ diff --git a/standards/templatetags/counter_tag.py b/standards/templatetags/counter_tag.py index a326b38..c715559 100644 --- a/standards/templatetags/counter_tag.py +++ b/standards/templatetags/counter_tag.py @@ -511,7 +511,7 @@ def getUserIsRep(user): @register.simple_tag def startdatecheck(usertocheck, day): uertime = list(UserTime.objects.filter(user=usertocheck))[0] - + if uertime.startdate < day: return True else: