Skip to content

Commit 9398fae

Browse files
author
Alexandr Shurigin
committed
v0.1.3 django import fix
macrosurl.__init__ django import fix to allow install macros-url when django is not installed yet.
1 parent b2fac6f commit 9398fae

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

CHANGELOG.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v0.1.3
2+
------
3+
4+
macrosurl.__init__ django import fix to allow install macros-url when django is not installed yet.
5+
16
v0.1.2
27
------
38

README.markdown

Lines changed: 1 addition & 1 deletion
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.2 - Routing must be simple as possible
1+
# [Django Macros Url](https://github.com/phpdude/django-macros-url/) v0.1.3 - 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

macrosurl/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import re
22

3-
from django.conf.urls import url as baseurl
4-
5-
VERSION = (0, 1, 2)
3+
VERSION = (0, 1, 3)
64

75
_macros_library = {
86
'id': r'\d+',
@@ -70,6 +68,8 @@ def __unicode__(self):
7068

7169

7270
def url(regex, view, kwargs=None, name=None, prefix=''):
71+
from django.conf.urls import url as baseurl
72+
7373
end_dollar = True
7474
if isinstance(view, tuple) and len(view) == 3:
7575
end_dollar = False

0 commit comments

Comments
 (0)