Compare commits

..

No commits in common. "6102459637f320dbab6574e73bf22d1602c91052" and "250f841e0027aa253cb62ccf4faa999dd339d20a" have entirely different histories.

3 changed files with 3 additions and 8 deletions

View File

@ -12,5 +12,4 @@ COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
USER timetracker USER timetracker
EXPOSE 8000 EXPOSE 8000
ENV VERSION_NUMBER $(git describe --tags --abbrev=0)
ENTRYPOINT [ "/entrypoint.sh" ] ENTRYPOINT [ "/entrypoint.sh" ]

View File

@ -1,4 +1,4 @@
.PHONY: createsuperuser shell .PHONY: createsuperuser
all: css migrate all: css migrate
@ -34,7 +34,4 @@ loadsample:
python src/web/manage.py loaddata sample.yaml python src/web/manage.py loaddata sample.yaml
createsuperuser: createsuperuser:
python src/web/manage.py createsuperuser python src/web/manage.py createsuperuser
shell:
python src/web/manage.py shell

View File

@ -47,8 +47,7 @@ def add_purchase(request):
form.save() form.save()
context["form"] = form context["form"] = form
context["title"] = "Add New Purchase" return render(request, "add_purchase.html", context)
return render(request, "add.html", context)
def add_game(request): def add_game(request):