Skip to main content

Conditional url routing for django

Project description

Conditional url routing for django

https://travis-ci.org/vinayinvicible/django-route.svg https://codecov.io/gh/vinayinvicible/django-route/coverage.svg?branch=master

Installation

pip install django-route

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am ‘Add some feature’
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Usage

  1. Create a router for the url
  2. Add destination url
  3. Provide the action (301/302/proxy)
  4. Describe the condition in templating language

License

This project is licensed under the MIT License - see the LICENSE file for details

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_route-0.2.0.tar.gz (28.2 kB view hashes)

Uploaded source

Built Distribution

django_route-0.2.0-py2.py3-none-any.whl (17.3 kB view hashes)

Uploaded py2 py3

Supported by

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