Re: Django URL problem

2018-12-07 Thread thanh . nguyenba0611
It can be like {% url 'email' %} (incorrect) => {% url 'email' %} (correct) :D On Saturday, December 8, 2018 at 2:10:13 AM UTC+7, Kacsándi, Zsolt wrote: > > Hi, > > I am new in Django and I have a problem. > I want to build an URL structure like this: > > https://example.com/1/email > https://ex

Re: Django URL problem

2018-12-07 Thread thanh . nguyenba0611
Hello, I think you are missing ('email/') in template. On Saturday, December 8, 2018 at 2:10:13 AM UTC+7, Kacsándi, Zsolt wrote: > > Hi, > > I am new in Django and I have a problem. > I want to build an URL structure like this: > > https://example.com/1/email > https://example.com/1/email/2 > >

Re: Django URL problem

2018-12-07 Thread vishal sharma
Hello, I am making multiupload files API in Django please suggest which functions we can use for uploading multiple upload? Thanks!! On Sat, 8 Dec 2018 at 12:40 AM, Kacsándi, Zsolt wrote: > Hi, > > I am new in Django and I have a problem. > I want to build an URL structure like this: > > https

Django URL problem

2018-12-07 Thread Kacsándi , Zsolt
Hi, I am new in Django and I have a problem. I want to build an URL structure like this: https://example.com/1/email https://example.com/1/email/2 The first URL is the list view, the second is the detail view. The first integer (1) in those is the account id, and in the second URL the second int