Re: pass link value in argument for view

2016-05-12 Thread C. Kirby
use \w+ to capture characters and digits. Also general django practice is to end all urls with a slash so: url(r'^myapp/(?P\w+)/$', views.my_view) On Thursday, May 12, 2016 at 4:32:20 AM UTC-5, quentin ladrier wrote: > > so I have test with an S+ or * and finally I obtain same error message. >

Re: pass link value in argument for view

2016-05-12 Thread quentin ladrier
so I have test with an S+ or * and finally I obtain same error message. this my first django project regards quentin Le jeudi 12 mai 2016 11:27:21 UTC+2, Tom Evans a écrit : > > On Wed, May 11, 2016 at 3:28 PM, quentin ladrier > wrote: > > sorry for the delay . I obtain this kind of error me

Re: pass link value in argument for view

2016-05-12 Thread 'Tom Evans' via Django users
On Wed, May 11, 2016 at 3:28 PM, quentin ladrier wrote: > sorry for the delay . I obtain this kind of error message: > NoReverseMatch at /my_views/my_arg/ . Reverse for 'xxx' with arguments > '(my_arg,)' and keyword arguments '{}' not found. 1 pattern(s) tried: > ['my_views/(?P\d+)$'] \d+ means 1

Re: pass link value in argument for view

2016-05-11 Thread quentin ladrier
sorry for the delay . I obtain this kind of error message: NoReverseMatch at /my_views/my_arg/ . Reverse for 'xxx' with arguments '(my_arg,)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['my_views/(?P\d+)$'] Le lundi 9 mai 2016 17:03:56 UTC+2, C. Kirby a écrit : > > Please provid

Re: pass link value in argument for view

2016-05-09 Thread C. Kirby
Please provide the specific error message you are seeing On Monday, May 9, 2016 at 8:05:20 AM UTC-5, quentin ladrier wrote: > > hello, > > I generate in views different link. the value of link is a variable > provide by search fonction. > this value change with search result. > so when I click to