Wednesday, February 28, 2018

Re: What happened to CollapsedFieldsets.js?



On Tue, Feb 27, 2018 at 1:28 PM, Alan <alanwilter@gmail.com> wrote:
Hi there,

Well, I used that like 8 years ago. Just wondering what's the current solution for Django 2.0 if one want to collapse fields in forms.


AFAIK is to write your own javascript (or use a third-party library / "toolkit") for doing that. You can see the implementation in the admin as a reference:
 
Thanks in advance,

Alan

--
I'll cycle across Britain in 2018 for a charity, would you consider
Many thanks!
--
Alan Wilter SOUSA da SILVA, DSc
Senior Bioinformatician, UniProt
European Bioinformatics Institute (EMBL-EBI)
European Molecular Biology Laboratory
Wellcome Trust Genome Campus
Hinxton
Cambridge CB10 1SD
United Kingdom
Tel: +44 (0)1223 494588

--
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/CAEznbznf1TyN-LSr5apdf7LGZJDR9Lco96GcJqMS%3DF4vK7jRQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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/CA%2BFDnhKz%3Dh2A1i_%2BVn0_pZyvWx6kjEKT9%3DjXKn2jBoDFZuYmmw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment