Promote resources to first class citizens for prefix-less URLs and easy sitemaps.
Mississippi goes one step beyond Django’s URL dispatcher to:
- Promote resources (pages) and resource types to first class citizens
- Allow for /<slug> URLs without any prefix, regardless of the resource type
- Easily and automatically generate sitemaps
Right now Mississippi is in its early development stage; there is more to come.
Add ‘mississippi’ to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'mississippi', ]
Make the mississippi URLconf the last one in your project urls.py like this:
Run python manage.py migrate to create the mississippi models.
TODO: Describe how to associate models with mississippi models.
TODO: Describe how to test to ensure mississippi is installed correctly.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size django-mississippi-0.2.2.tar.gz (6.0 kB)||File type Source||Python version None||Upload date||Hashes View hashes|