https://github.com/vinayinvicible/django-route
Conditional url routing for django using template conditionals
https://github.com/vinayinvicible/django-route
ab-testing django url-routing
Last synced: about 1 year ago
JSON representation
Conditional url routing for django using template conditionals
- Host: GitHub
- URL: https://github.com/vinayinvicible/django-route
- Owner: vinayinvicible
- License: mit
- Created: 2016-10-08T21:36:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-03-03T16:51:46.000Z (over 1 year ago)
- Last Synced: 2025-03-19T03:55:08.954Z (about 1 year ago)
- Topics: ab-testing, django, url-routing
- Language: Python
- Homepage:
- Size: 153 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
django-route
============
Conditional url routing for django
.. image:: https://travis-ci.org/vinayinvicible/django-route.svg
:target: https://travis-ci.org/vinayinvicible/django-route
.. image:: https://codecov.io/gh/vinayinvicible/django-route/coverage.svg?branch=master
:target: https://codecov.io/gh/vinayinvicible/django-route
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
.. _LICENSE: https://github.com/vinayinvicible/django-route/blob/master/LICENSE