Skip to content

Commit 321877b

Browse files
author
Alexandr Shurigin
committed
v0.1.4 documentation fixes
Fixed few misspells. Example of usage. Version bumped.
1 parent d001cbb commit 321877b

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

Diff for: CHANGELOG.markdown

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v0.1.4
2+
------
3+
4+
Readme fixes.
5+
16
v0.1.3
27
------
38

Diff for: README.markdown

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# [Django Macros Url](https://github.com/phpdude/django-macros-url/) v0.1.3 - Routing must be simple as possible
1+
# [Django Macros Url](https://github.com/phpdude/django-macros-url/) v0.1.4 - 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

5-
You can combine your prefixes with macro names with underscope, for example you can use macro `:slug` and `:product_slug`. They both will be compiled to same regex pattern with their group names of course. Multiple underscopes accepted too.
5+
You can combine your prefixes with macro names with underscore, for example you can use macro `:slug` and `:product_slug`. They both will be compiled to same regex pattern with their group names of course. Multiple underscores accepted too.
66

77
[![Build Status](https://travis-ci.org/phpdude/django-macros-url.svg?branch=master)](https://travis-ci.org/phpdude/django-macros-url)
88

@@ -76,8 +76,8 @@ urlpatterns = patterns(
7676
url(':category_slug/:product_slug/', 'category_product'),
7777
url(':category_slug/:product_slug/:variant_id', 'category_product_variant'),
7878
url('news/', 'news'),
79-
url('news/:year/:month/:day$', 'news_date'),
80-
url('news/:slug$', 'news_entry'),
79+
url('news/:year/:month/:day', 'news_date'),
80+
url('news/:slug', 'news_entry'),
8181
url('^order/:id$', 'order'),
8282
)
8383
```
@@ -105,8 +105,14 @@ I think you understand the difference of ways :)
105105

106106
#### Routing must be simple! ;-)
107107

108-
I think real raw url regexp patterns need in 1% case only. Prefer simple way to write (and read, this is important) fancy clean urls.
108+
I think real raw url regexp patterns needed in 1% case only. Prefer simple way to write (and read, this is important) fancy clean urls.
109109

110110
### Contributor
111111

112112
Alexandr Shurigin (aka [phpdude](https://github.com/phpdude/))
113+
114+
### Additionals
115+
116+
Sorry for my english level :(
117+
118+
You are welcome fix readme to good english by pull request! Thank you.

Diff for: macrosurl/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import re
22

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

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

0 commit comments

Comments
 (0)