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 ([email protected]) написал:

On Wednesday 11 March 2015 22:56:15 inoyon artlover KLANGRAUSCH wrote:  
>  
> url(r'^(P?<slug>\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 django-users  
mailing list. This list is for discussions about the development of Django  
itself.  

Thanks,  
Shai.  

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/etPan.5500b417.12200854.9db9%40MacBook-Pro-phpdude.local.
For more options, visit https://groups.google.com/d/optout.

Reply via email to