Content-Length: 285426 | pFad | https://github.com/Microsoft/python-sample-vscode-django-tutorial/issues/13

D1 When building with debug = false css is lost · Issue #13 · microsoft/python-sample-vscode-django-tutorial · GitHub
Skip to content

When building with debug = false css is lost #13

@pandawankenobi

Description

@pandawankenobi

@kraigb
Static files don't seem to be served when debug = false.

To replicate in vs code + win 10:

  1. Git clone
  2. remove python==3.7 from requirements (wont build otherwise)
  3. Docker build
  4. Docker run locally
  5. Everything fine
  6. Set debug=False
  7. Docker build
  8. Docker run locally
  9. remember to ctrl+f5 refresh page.
    No CSS loading. It seems static files are missing...

I tried pushing to webapp with same result. Am i missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/Microsoft/python-sample-vscode-django-tutorial/issues/13

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy