update date
This commit is contained in:
parent
62d3ba001d
commit
ac2cc8db62
@ -14,7 +14,7 @@ from .models import User, ALKATOR_CHOICES_DICT
|
||||
def register(request):
|
||||
ALKATOR_CLASS = 2
|
||||
|
||||
if date.today() >= date(2024, 5, 4):
|
||||
if date.today() >= date(2024, 10, 5):
|
||||
return HttpResponse('{"reason":"Too late!"}', status=400, content_type='application/json')
|
||||
if not request.POST.get('agreement'):
|
||||
return HttpResponse('{"reason":"Je potřeba souhlasit se zpracováním údajů!"}', status=400, content_type='application/json')
|
||||
|
Loading…
x
Reference in New Issue
Block a user