Skip to main content

Load your django apps by app name rather than module path.

Project description


.. image::
:alt: Build Status

Django-loading allows you to load your django apps by their app name rather
than by the module path. This is particularly useful if you don't know where
modules will be installed or if you plan to allow overriding of your apps (eg
a user replaces your ```` app with ````).


If you have a django app called ``bar`` in a package called ``foo`` (such that
you would add ```` to your INSTALLED_APPS) then you can get hold of
``bar`` without knowing its full module path::


Django-loading hooks into python's regular import mechanism so all the normal
ways to import things will work::

from import models
from import MyModel as ThisIsMyModel

Your app names in a django project should all be unqiue, django-loading won't
work if they are not (but django won't like that either).


Use your favorite install method, for example:

$ pip install django-loading

You do not need to add django-loading to your INSTALLED_APPS, just start using

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-loading-0.1.1.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page