| Name | spammyk |
|---|---|
| Email Address | n/a |
| Posts | 1 |
-
- 2013-02-11 04:54:26
- Checking that path in urls.py has exactly 6 characters
- Board » Django » Views
-
Hi,
i tried to have a forwarding to a view if the path name has exactly 6 chara:
url(r'^\w{6}', 'test.views.weiter'),
for Django it is irrelevatn if there are 6 or more characters... only if there are less than 6 I get an error...
Has anyone an idea?? (I'm not so familiar with regex...)
Kai


