Monday, July 25, 2016

Re: Django selected value

Many to many fields are not good due to performance issues. It is not important for small Db but for big it is a problem.
Simplest way for understanding form is a adding debug print(form)inside your views get function.
Next step is turning off form autocommit, update your form fields and save it.


25 лип. 2016 21:36 "Volodymyr Kirichinets" <webmamoffice@gmail.com> пише:
Hi Shem,
Thanks for Your interest,
But I solved this in more flexible and convenient model.(without requests, get selected options and other).
I use now ManyToManyField and this solve many problems.
Thanks for Your interest. I invite You to Python Dnipro, Django Dnipro, Pyramid Dnipro - Google Groups,
If You interested - add this groups.
Sincerely,
Volodymyr

--
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/162bbeb2-2d91-4755-93e0-aa5ec9018599%40googlegroups.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/CADTRxJMpeF7LOsC4VqotCWznHFf8r2m-VO9rP1cmXEYP5mDU2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment