Use Macros Urls and forget about this type problems :)
http://phpdude.github.io/django-macros-url/
--
Alexandr Shurigin
Sent with Airmail
Включено 11 марта 2015 г. в 23:30:03, Shai Berger (s...@platonix.com) написал:
On Wednesday 11 March 2015 22:56:15 inoyon artlover KLANGRAUSCH wrote:
>
On Wednesday 11 March 2015 22:56:15 inoyon artlover KLANGRAUSCH wrote:
>
> url(r'^(P?\w+)$', views.ProductView.as_view()),
>
> Where is the mistake here
That should be
url(r'^(?P...
The question mark before the P
In the future, please direct questions about using Django to the dj