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
2
2
3
3
Django Macros Url makes it easy to write (and read) url patterns in your django applications by using macros.
4
4
@@ -15,7 +15,7 @@ month - (0?([1-9])|10|11|12)
15
15
day - ((0|1|2)?([1-9])|[1-3]0|31)
16
16
id - \d+
17
17
pk - \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}
19
19
```
20
20
21
21
If 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 1
1
import re
2
2
3
- VERSION = (0 , 1 , 4 )
3
+ VERSION = (0 , 1 , 5 )
4
4
5
5
_macros_library = {
6
6
'id' : r'\d+' ,
You can’t perform that action at this time.
0 commit comments