Conditional url routing for django
pip install django-route
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request :D
- Create a router for the url
- Add destination url
- Provide the action (301/302/proxy)
- Describe the condition in templating language