Re: Link ID's To Detail Page

2018-11-07 Thread Gregory Strydom
ell. > > You probably meant {% url ‘kpi_eftdetail’ *incident.eft_lead*.id %} > > > > *From:* django...@googlegroups.com [mailto: > django...@googlegroups.com ] *On Behalf Of *Gregory Strydom > *Sent:* Wednesday, November 7, 2018 8:58 AM > *To:* Django users &g

Re: Link ID's To Detail Page

2018-11-07 Thread Gregory Strydom
That is pretty much the way I have it set up yeah so I also think it should work but its not. I did have a closer look at the No_Reverse error and saw this: Reverse for 'kpi_eftdetail' with arguments '(",)' not found. 1 pattern(s) tried: ['kpi/eftlead/(?P\\d+$'] I think the '(",)' is the

RE: Link ID's To Detail Page

2018-11-07 Thread Matthew Pava
, 2018 8:58 AM To: Django users Subject: Re: Link ID's To Detail Page Sorry I typed it in here incorrectly. Thank you for spotting that though :) It is the correct way in my source file. On Wednesday, 7 November 2018 16:55:15 UTC+2, Matthew Pava wrote: If you just copied and pasted from your template

Re: Link ID's To Detail Page

2018-11-07 Thread Gregory Strydom
Sorry I typed it in here incorrectly. Thank you for spotting that though :) It is the correct way in my source file. On Wednesday, 7 November 2018 16:55:15 UTC+2, Matthew Pava wrote: > > If you just copied and pasted from your template into this email, the > problem is a syntax error. You did

Re: Link ID's To Detail Page

2018-11-07 Thread vineeth sagar
I think it should be url 'kpi_detail' incident_id=incident.id" and for the other one it should be url 'kpi_eftdetail' eftlead=eftlead.id" . I think you get the idea. This won't solve it if you copy paste but it's a step in the right path On Nov 7, 2018 8:20 PM, "Gregory Strydom" wrote: > Hi

RE: Link ID's To Detail Page

2018-11-07 Thread Matthew Pava
If you just copied and pasted from your template into this email, the problem is a syntax error. You did not close your URL tag with a %}. {{ incident.ir_num }} {{ incident.eft_lead}} From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Gregory Strydom