2 Commits

Author SHA1 Message Date
8e1c670ffd Fix collectstaticfiles causing error
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #23
2023-01-08 15:46:09 +01:00
e5a9b9aa50 Fix CSRF error (#22)
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #21

Reviewed-on: #22
2023-01-08 14:35:28 +00:00
4 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
## Unreleased ## 0.1.4 / 2023-01-08 15:45+01:00
* Fix collectstaticfiles causing error when restarting container (https://git.kucharczyk.xyz/lukas/timetracker/issues/23) * Fix collectstaticfiles causing error when restarting container (https://git.kucharczyk.xyz/lukas/timetracker/issues/23)
@ -31,4 +31,4 @@
* Make it possible to add a new platform * Make it possible to add a new platform
* Save calculated duration to database if both timestamps are set * Save calculated duration to database if both timestamps are set
* Improve session listing * Improve session listing
* Set version in the footer to fixed, fix main container height * Set version in the footer to fixed, fix main container height

View File

@ -6,7 +6,7 @@ RUN npm install && \
FROM python:3.10.9-alpine FROM python:3.10.9-alpine
ENV VERSION_NUMBER 0.1.2-3-g83f075e ENV VERSION_NUMBER 0.1.4
ENV PROD 1 ENV PROD 1
RUN apk add \ RUN apk add \

View File

@ -44,7 +44,7 @@ shell:
poetry run python src/web/manage.py shell poetry run python src/web/manage.py shell
collectstatic: collectstatic:
poetry run python src/web/manage.py collectstatic -c --no-input poetry run python src/web/manage.py collectstatic --clear --no-input
poetry.lock: pyproject.toml poetry.lock: pyproject.toml
poetry install poetry install

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "timetracker" name = "timetracker"
version = "0.1.2" version = "0.1.4"
description = "A simple time tracker." description = "A simple time tracker."
authors = ["Lukáš Kucharczyk <lukas@kucharczyk.xyz>"] authors = ["Lukáš Kucharczyk <lukas@kucharczyk.xyz>"]
license = "GPL" license = "GPL"