QS 0.9.1 PORD
This commit is contained in:
parent
5efe4f7e7f
commit
7eb71b084f
Binary file not shown.
|
|
@ -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'
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue