Skip to content

Conditional url routing for django using template conditionals

License

Notifications You must be signed in to change notification settings

vinayinvicible/django-route

Repository files navigation

django-route

Conditional url routing for django

image

image

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

About

Conditional url routing for django using template conditionals

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages