Skip to content

Commit 6294c2e

Browse files
committed
v0.1.5 Version bump.
1 parent 2d2ee88 commit 6294c2e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

33
Django 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)
1515
day - ((0|1|2)?([1-9])|[1-3]0|31)
1616
id - \d+
1717
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}
1919
```
2020

2121
If you want to offer more macros by default, you can fork and make pull request.

macrosurl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import re
22

3-
VERSION = (0, 1, 4)
3+
VERSION = (0, 1, 5)
44

55
_macros_library = {
66
'id': r'\d+',

0 commit comments

Comments
 (0)