I'm writing the custom modelformset. I need that forms to be sorted by value
of field "ordering". I overloaded __iter__ and __getitem__ methods of
BaseFormSet in my child formset class.
*My code:*
class SortedCatForms(BaseFormSet):
def __iter__(self):
print '__iter__'
retu
Or simply add folder with same name of your app. For
admin//.html
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/9Qe-eX2T5X8J.
To post to this group, send
2 matches
Mail list logo