File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- # [ Django Macros Url] ( https://github.com/phpdude/django-macros-url/ ) v0.1.4 - Routing must be simple as possible
1+ # [ Django Macros Url] ( https://github.com/phpdude/django-macros-url/ ) v0.1.5 - Routing must be simple as possible
22
33Django Macros Url makes it easy to write (and read) url patterns in your django applications by using macros.
44
@@ -15,7 +15,7 @@ month - (0?([1-9])|10|11|12)
1515day - ((0|1|2)?([1-9])|[1-3]0|31)
1616id - \d+
1717pk - \d+
18- uuid - [a-fA-F0-9]{8}-?[a-fA-F0-9]{4}-?[a-fA-F0-9]{4 }-?[a-fA-F0-9]{4}-?[a-fA-F0-9]{12}
18+ uuid - [a-fA-F0-9]{8}-?[a-fA-F0-9]{4}-?[1345][ a-fA-F0-9]{3 }-?[a-fA-F0-9]{4}-?[a-fA-F0-9]{12}
1919```
2020
2121If you want to offer more macros by default, you can fork and make pull request.
Original file line number Diff line number Diff line change 11import re
22
3- VERSION = (0 , 1 , 4 )
3+ VERSION = (0 , 1 , 5 )
44
55_macros_library = {
66 'id' : r'\d+' ,
You can’t perform that action at this time.
0 commit comments