Re: NoReverseMatch in Django (url ploblem)

2015-07-05 Thread Jeff Gaoey
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

Re: NoReverseMatch in Django (url ploblem)

2015-07-02 Thread James Schneider
> > 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

Re: NoReverseMatch in Django (url ploblem)

2015-07-02 Thread James Schneider
> 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

NoReverseMatch in Django (url ploblem)

2015-07-02 Thread Jeff Gaoey
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'^$