I don't understand why this doesn't work and smashes an
'*The current URL, lighter, didn't match any of these.'*
my models.py
class ShopList(models.Model):
name = models.CharField(max_length=100, null=True, blank=True)
description = models.CharField(max_length=100, null=True,
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