Wednesday, July 26, 2017

Re: How can I auto-fill a field in the model without showing a form field to the user?

Thanks I'll pick up that book.

Would another acceptable approach be to do this in the view by overriding the form_valid() method? Can you tell me if there is any benefit/disadvantage to doing it one way or another? Thanks again





On Tuesday, July 25, 2017 at 4:48:22 PM UTC-6, Mike Dewhirst wrote:
On 26/07/2017 3:15 AM, Alexander Joseph wrote:
> How did you learn all the methods that are available

Django is very comprehensively documented and almost any question you
can think up is only a google search away. Typically a search will
reveal a Django doc reference and StackOverflow answers. I must say
looking up the docs is very valuable because you learn so much else
besides your original quest.

Books are another good source. My preferred one is Two Scoops of Django.

Welcome.


--
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/5c76493d-11a4-4460-9522-adc2822765e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment