This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

LoR as “Local or Remote” is a useful tool for manage static files between testing and production.


Install the package on your system:

pip install django-static-lor

Make the following things in your

  • Add lor app at the beginning of your INSTALLED_APPS
  • Add LOR_USE_LOCAL_URLS for define if you want local or remote URLs (Better is simply LOR_USE_LOCAL_URLS = DEBUG
  • Add LOR_STATIC_DIR for define where is the app’s static directory
  • Add LOR_STATIC_DIR in STATICFILES_DIRS if you want to serve it when DEBUG == False
  • Add you matches in LOR_FILES_URLS

Your settings will look like something like this:

LOR_STATIC_DIR = '/my/lor/static/dir/'

    'jquery': ('js/jquery.js',



In templates

{% load lor %}
My jQuery URL: {% lor_url 'jquery' %}

Collect remote files

./ wget

This will download all files in LOR_FILES_URLS and put them in LOR_USE_LOCAL_URLS.

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-static-lor-0.1.0.tar.gz (6.5 kB) Copy SHA256 Checksum SHA256 Source Jun 23, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting