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
Run development web server in insecure mode #2625
Run development web server in insecure mode #2625
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's also using whitenoise to always serve the static files the same way in prod, dev and whatever but this works too.
The development web container doesn't work properly if `DJANGO_DEBUG=False` is set in `nav.conf`, since the staticfiles app would not serve most static resources in that case. This would prevent us from seeing what a non-debug site looks like while developing.
d8aeb60
to
608d9b3
Compare
Kudos, SonarCloud Quality Gate passed! |
Yup, whitenoise is great, but won't we have to run the |
Codecov Report
@@ Coverage Diff @@
## 5.6.x #2625 +/- ##
==========================================
+ Coverage 0 53.99% +53.99%
==========================================
Files 0 558 +558
Lines 0 40621 +40621
==========================================
+ Hits 0 21934 +21934
- Misses 0 18687 +18687 see 558 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
The development web container doesn't work properly if
DJANGO_DEBUG=False
is set innav.conf
, since the staticfiles app would not serve most static resources in that case. This would prevent us from seeing what a non-debug site looks like while developing.