Monday, October 20, 2014

Paginating 31 forms in to multiple pages( 16 forms per page)

I have a  lot of form(31) am looking for a way to divide them into multiple pages but current I seem not to find any way of doing this.
All the other pagination  methods seem to favour those displaying data not those displaying forms.
Am using class based view(View)

DataInputProcessor(View):
     def get(self, request, dataset):
          #The source is way to much to post here.

     #after all forms in the pages have been filled post
     def post(self, request, dataset):
          #Allthis works for me but, how I can divide the forms in multiple pages not one.

Every thing seems to work for me inputing forms and posting all works, but the forms are too many And I
don't want the user to scroll the page until.

--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d4af230a-603a-4f9f-a33c-c2bdc9096019%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment