Re: For loop did not working ...

2016-07-20 Thread Asad ur Rehman
def campaign_list(request): """List all campaigns for the logged in user **Attributes**: * ``template`` - dialer_campaign/campaign/list.html **Logic Description**: * List all campaigns belonging to the logged in user """ form = CampaignSearchForm(request.user

Re: For loop did not working ...

2016-07-20 Thread Mandeep Tondak
use custom template tag / or use class function in html:- use {{ id|pending }} pending is your custom template tag _ Class Abc(): pending = model() def pendinf(self): return self.pending Thank Mandeep On Wed, Jul 20, 2016 at 4:25 PM, Asad ur R

Re: For loop did not working ...

2016-07-20 Thread Asad ur Rehman
No module name urls error is showing. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send emai

Re: For loop did not working ...

2016-07-20 Thread Mandeep Tondak
Hey Id = [2,3,4,5,6,7,8] for w in Id: A = w Pending = pending(A) indent error. i hope. On Wed, Jul 20, 2016 at 4:11 PM, Asad ur Rehman wrote: > In image tou can see *Pending* Box. i want to generate loop and want to > get result against values in loop.in image