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
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
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
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
In image tou can see *Pending* Box. i want to generate loop and want to get
result against values in loop.in image 668 is the value of first Column.i
want to give different values to column by loop
Pending = pending(8)
pending(8) give first column result that is 668.
Id = [2,3,4,5,6,7,8]
5 matches
Mail list logo