Re: [Django] #30632: Pagination for FormSet

2019-07-11 Thread Django
#30632: Pagination for FormSet
-+---
 Reporter:  Parth Patil  |Owner:  Parth Patil
 Type:  New feature  |   Status:  closed
Component:  Forms|  Version:  2.2
 Severity:  Normal   |   Resolution:  wontfix
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+---
Changes (by Carlton Gibson):

 * status:  assigned => closed
 * resolution:   => wontfix


Comment:

 Hey Parth. I think we need to pin down the use-case before moving forward
 with this. Let's do that on the email.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.b18f6bcbda1a1d8174614a978affb5b5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30632: Pagination for FormSet

2019-07-11 Thread Django
#30632: Pagination for FormSet
-+---
 Reporter:  Parth Patil  |Owner:  Parth Patil
 Type:  New feature  |   Status:  assigned
Component:  Forms|  Version:  2.2
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+---

Comment (by Parth Patil):

 Replying to [comment:4 felixxm]:
 > because you will be able to work only on a single page i.e. only with a
 subset of forms from formset.

 I agree with that, but I meant this feature to be more as a method of
 representation of data rather than taking input from the user.

 Replying to [comment:5 Carlton Gibson]:
 > In this case don’t you paginate the queryset prior to creating the
 FormSet?

 I guess I'm thinking of a very specific example where the queryset is
 itself large enough, like a blog having over 100 replies.

 
 It's more like I see this being useful if used with models, this will give
 a quick way of representing different models using formsets, where even
 the queryset is large enough.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.5ea3d7c7e801cf34aab39e607f184d27%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30632: Pagination for FormSet

2019-07-11 Thread Django
#30632: Pagination for FormSet
-+---
 Reporter:  Parth Patil  |Owner:  Parth Patil
 Type:  New feature  |   Status:  assigned
Component:  Forms|  Version:  2.2
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+---

Comment (by felixxm):

 I don't see any benefit in using a paginated formset in this scenario,
 because you will be able to work only on a single page i.e. only with a
 subset of forms from formset. It's not necessary to create formset with
 100 forms to use only 10 of them. You should rather paginate a queryset
 and create formset for a single page.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.afbc4e399d49e11a816d74eb02ec6479%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30632: Pagination for FormSet

2019-07-11 Thread Django
#30632: Pagination for FormSet
-+---
 Reporter:  Parth Patil  |Owner:  Parth Patil
 Type:  New feature  |   Status:  assigned
Component:  Forms|  Version:  2.2
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+---

Comment (by Carlton Gibson):

 Hey Parth.

 > Mostly for e.g. blog sites if there are 100 blog models…

 In this case don’t you paginate the queryset prior to creating the
 FormSet?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.75d542fdb34f83a4ce6cce4aef7e2829%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30632: Pagination for FormSet

2019-07-11 Thread Django
#30632: Pagination for FormSet
-+---
 Reporter:  Parth Patil  |Owner:  Parth Patil
 Type:  New feature  |   Status:  assigned
Component:  Forms|  Version:  2.2
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+---

Comment (by Parth Patil):

 Replying to [comment:2 felixxm]:
 > Can you describe the use case and your motivation? I'm not sure how it
 would work. "Normally" you will lose all entered data after changing a
 page.

 I intended it to be used for model formsets. Mostly for e.g. blog sites if
 there are 100 blog models on can easily have it paginated and well
 formatted using formsets while also selecting which fields to show.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.9e04ab9d26ea282e1a8b5128cec74785%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30632: Pagination for FormSet

2019-07-11 Thread Django
#30632: Pagination for FormSet
-+---
 Reporter:  Parth Patil  |Owner:  Parth Patil
 Type:  New feature  |   Status:  assigned
Component:  Forms|  Version:  2.2
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+---

Comment (by felixxm):

 Can you describe the use case and your motivation? I'm not sure how it
 would work. "Normally" you will lose all entered data after changing a
 page.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.6efa9eb7bcaf8e1d8b2e5149b8998ad1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30632: Pagination for FormSet

2019-07-11 Thread Django
#30632: Pagination for FormSet
-+---
 Reporter:  Parth Patil  |Owner:  Parth Patil
 Type:  New feature  |   Status:  assigned
Component:  Forms|  Version:  2.2
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+---
Changes (by Parth Patil):

 * owner:  nobody => Parth Patil
 * status:  new => assigned
 * has_patch:  0 => 1


Comment:

 Here is a PR for the new feature
 https://github.com/django/django/pull/11558

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.360d1bfedee2827d2879243caee652b6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.