Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add whitenoise for static files #37

Merged
merged 2 commits into from
Oct 16, 2023
Merged

Add whitenoise for static files #37

merged 2 commits into from
Oct 16, 2023

Conversation

jussiarpalahti
Copy link
Member

No description provided.

@jussiarpalahti jussiarpalahti requested a review from aapris October 12, 2023 10:00
requirements.txt Outdated
@@ -51,3 +51,4 @@ sqlparse==0.4.4
# mittaridatapumppu-deviceregistry (pyproject.toml)
unittest-parametrize==1.3.0
# via mittaridatapumppu-deviceregistry (pyproject.toml)
whitenoise<7
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put this whitenoise into pyproject.toml below this line

"unittest-parametrize",

and then run

pip-compile -v -U --resolver=backtracking pyproject.toml

which will then add whitenoise to requirements.txt.

Copy link
Collaborator

@aapris aapris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix pyproject.toml / requirements.txt, see comment.

@aapris aapris merged commit ee35ca4 into main Oct 16, 2023
2 checks passed
@aapris
Copy link
Collaborator

aapris commented Oct 16, 2023

Move requirement to pyproject.toml

@aapris aapris deleted the whitenoise branch October 16, 2023 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants