Skip to main content

Django static tag ignores META.SCRIPT_NAME settings, so we get it fixed.

Project description

django-fixstaticurl

Django static tag ignores META.SCRIPT_NAME settings, so we get it fixed.

Install

pip install django-fixstaticurl

Settings

  1. Install and config django-middleware-global-request properly, see https://pypi.org/project/django-middleware-global-request/
  2. Add fixstaticurl in settings.INSTALLED_APPS
  3. Config nginx and uwsgi properly so that the META.SCRIPT_NAME is correct

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-fixstaticurl-0.1.0.tar.gz (2.1 kB view details)

Uploaded Source

File details

Details for the file django-fixstaticurl-0.1.0.tar.gz.

File metadata

  • Download URL: django-fixstaticurl-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for django-fixstaticurl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5db0ad975048933a8ca1ed95fa1123887448d7d6a12c031183c8cc57eb2652ae
MD5 be7afdb51d1c1a765e3c3192db0b04a9
BLAKE2b-256 96d7313909964df9af615a7aee4b2b2ddcef6d0f42866ec02b90da8caf847233

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page