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.

Files for django-fixstaticurl, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django-fixstaticurl-0.1.0.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page