Wednesday, July 20, 2016

Re: For loop did not working ...

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 Rehman <asadurrehman319@gmail.com> wrote:
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9d44d367-2f00-4d21-8dbe-1a60ac1e18e0%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Warm Regard:-
Mandeep Kumar
     



--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJri7SQVoVHp5moiJPpb99Lc7OErNTHJvURkghaG%2Bu1Q6GWuqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment