James - Thank You Very Much
that true it doesn't need /. everything work fine as I want :D.
เมื่อ วันศุกร์ที่ 3 กรกฎาคม ค.ศ. 2015 7 นาฬิกา 38 นาที 54 วินาที UTC+7,
James Schneider เขียนว่า:
>
>
> > > I'm a beginner of Django I want to set my url with database field_name
> > > instead of use prim
> > I'm a beginner of Django I want to set my url with database field_name
> > instead of use primary key from Django tutorial. This is my code.
> >
> > *mysite*
> > **dwru/urls.py**
> > urlpatterns = [
> > url(r'^$', include('product.urls', namespace="product")),
> > ]
>
> This regex is incorr
> I'm a beginner of Django I want to set my url with database field_name
> instead of use primary key from Django tutorial. This is my code.
>
> *mysite*
> **dwru/urls.py**
> urlpatterns = [
> url(r'^$', include('product.urls', namespace="product")),
> ]
This regex is incorrect, and will only
I'm a beginner of Django I want to set my url with database field_name
instead of use primary key from Django tutorial. This is my code.
*mysite***dwru/urls.py**
urlpatterns = [
url(r'^$', include('product.urls', namespace="product")),]
*myapp***product/urls.py**
urlpatterns = [
url(r'^$
4 matches
Mail list logo