Discussion:
Please help me ,my code is not working .I Am using Django 2
Abdullah Al Maruf
2018-11-10 13:30:25 UTC
Permalink
please some one solve this .
I am new at Django.
In Django 1

url(r'^(?P<album_id>[0-9]+)/$', views.detail, name='detail'),


and Now How i convert this in Django 2?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e642b1fc-2004-4883-934b-ec07f49d4196%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jason
2018-11-10 14:20:34 UTC
Permalink
did you look in the documentation for it?

https://docs.djangoproject.com/en/2.1/releases/2.0/#simplified-url-routing-syntax
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dd3d0628-425d-4edc-a8ad-df6f3c1cdde5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...