Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 06803389b8 |
+4
-6
@@ -24,7 +24,7 @@ ANONYMOUS_USERNAME = "anonym"
|
|||||||
BERLIN = ZoneInfo("Europe/Berlin")
|
BERLIN = ZoneInfo("Europe/Berlin")
|
||||||
# Festival window: 2026-05-30 10:00 – 2026-06-14 22:00 Berlin time.
|
# Festival window: 2026-05-30 10:00 – 2026-06-14 22:00 Berlin time.
|
||||||
BOOKING_START = datetime(2026, 5, 30, 10, 0, 0, tzinfo=BERLIN)
|
BOOKING_START = datetime(2026, 5, 30, 10, 0, 0, tzinfo=BERLIN)
|
||||||
BOOKING_END = datetime(2026, 6, 17, 23, 59, 0, tzinfo=BERLIN)
|
BOOKING_END = datetime(2026, 6, 14, 22, 0, 0, tzinfo=BERLIN)
|
||||||
|
|
||||||
DAY_BY_WEEKDAY = {3: 1, 4: 2, 5: 3, 6: 4}
|
DAY_BY_WEEKDAY = {3: 1, 4: 2, 5: 3, 6: 4}
|
||||||
DAY_CUTOFF_HOUR = 6
|
DAY_CUTOFF_HOUR = 6
|
||||||
@@ -177,11 +177,9 @@ def name_view(request):
|
|||||||
existing = None
|
existing = None
|
||||||
|
|
||||||
if existing is None:
|
if existing is None:
|
||||||
return render(
|
request.session["pending_username"] = username
|
||||||
request,
|
request.session["pending_mode"] = "create"
|
||||||
"suff/party_over.html",
|
return HttpResponseRedirect(reverse("suff:pin"))
|
||||||
{"phase": phase, "username": username},
|
|
||||||
)
|
|
||||||
|
|
||||||
if not existing.pin:
|
if not existing.pin:
|
||||||
if _user_has_activity(existing):
|
if _user_has_activity(existing):
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
{% extends "suff/base.html" %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<h2>Party vorbei!</h2>
|
|
||||||
<p>
|
|
||||||
Der Name <b>{{ username }}</b> existiert noch nicht —
|
|
||||||
neue Accounts können nicht mehr angelegt werden, weil das Festival vorbei ist.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Du hast schon einen Account? Gib deinen Namen nochmal ein.
|
|
||||||
</p>
|
|
||||||
<div class="link-row">
|
|
||||||
<a href="{% url 'suff:name' %}" class="link-btn">Zurück</a>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
|
||||||
+1
-1
@@ -10,7 +10,7 @@ dependencies = [
|
|||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = [
|
dev = [
|
||||||
"ruff==0.15.18",
|
"ruff==0.15.17",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
|
|||||||
Reference in New Issue
Block a user