I was trying to paginate course list view but not able to do it. I tried puting paginated_by in views and this
http://dpaste.de/7Mea
code in the template but it seems like it does work that way and I am missing something.
This is views.py
http://dpaste.de/PHtZ
this is the related template
http://dpaste.de/jk5k
I removed the pagination code as It was not working at all.
It looks like I am clueless about how to paginate. I would appeariciate any ahel. Thanks
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/a725585f-eac8-4d8a-a6be-3266ba39ee65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment