Remove cruft
This commit is contained in:
parent
f2b08cd1cd
commit
bedfbb7f31
|
@ -6,7 +6,7 @@ RUN npm install && \
|
||||||
|
|
||||||
FROM python:3.10-slim-bullseye
|
FROM python:3.10-slim-bullseye
|
||||||
|
|
||||||
ENV VERSION_NUMBER 0.1.0-40-g5ad0e52
|
ENV VERSION_NUMBER 0.1.0-41-gf2b08cd
|
||||||
ENV PROD 1
|
ENV PROD 1
|
||||||
|
|
||||||
RUN useradd --create-home --uid 1000 timetracker
|
RUN useradd --create-home --uid 1000 timetracker
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
{% extends 'base.html' %}
|
|
||||||
|
|
||||||
{% block title %}Add New Purchase{% endblock title %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<form method="POST" enctype="multipart/form-data" class="mx-auto">
|
|
||||||
{% csrf_token %}
|
|
||||||
|
|
||||||
{{ form.as_p }}
|
|
||||||
|
|
||||||
<input type="submit" value="Submit">
|
|
||||||
</form>
|
|
||||||
{% endblock content %}
|
|
|
@ -1,13 +0,0 @@
|
||||||
{% extends 'base.html' %}
|
|
||||||
|
|
||||||
{% block title %}Add New Session{% endblock title %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<form method="POST" enctype="multipart/form-data" class="mx-auto">
|
|
||||||
{% csrf_token %}
|
|
||||||
|
|
||||||
{{ form.as_p }}
|
|
||||||
|
|
||||||
<input type="submit" value="Submit">
|
|
||||||
</form>
|
|
||||||
{% endblock content %}
|
|
|
@ -27,8 +27,9 @@ def add_session(request):
|
||||||
form.save()
|
form.save()
|
||||||
return redirect("list_sessions")
|
return redirect("list_sessions")
|
||||||
|
|
||||||
|
context["title"] = "Add New Session"
|
||||||
context["form"] = form
|
context["form"] = form
|
||||||
return render(request, "add_session.html", context)
|
return render(request, "add.html", context)
|
||||||
|
|
||||||
|
|
||||||
def update_session(request, session_id=None):
|
def update_session(request, session_id=None):
|
||||||
|
|
Loading…
Reference in New Issue