ModelForm for model that includes multiple items of one kind

2019-03-30 Thread Dean Karres
Hi I am looking for some advice. I have a basic Profile model. It looks something like: Profile: first_name middle_name last_name birthday address_line1 address_line2 city state zip email phone I have a ModelForm that goes with this. This is sufficient for nearly all the cases I am trying to

Re: ModelForm for model that includes multiple items of one kind

2019-03-30 Thread Dean Karres
Thanks to the responders. I was unaware of formsets / midelformsets. I am reading about them now. Cheers -- 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

New user question: Where to put non-form validation code?

2019-07-13 Thread Dean Karres
Hi, I am learning Django. I am using CBVs. My default "index.py" view is basically a dashboard for the app I am playing with. As my models and views become more complicated I want to be able to ask, for any model instance, is this instance "valid" or "complete". Valid means that all Requir

Re: New user question: Where to put non-form validation code?

2019-07-13 Thread Dean Karres
Thank you. There are way more parts to this than I would have imagined. On Sat, Jul 13, 2019, 8:01 PM Mike Dewhirst wrote: > On 14/07/2019 10:37 am, Dean Karres wrote: > > Hi, > > I am learning Django. I am using CBVs. My default "index.py" view is > basically

New to this list question

2018-11-23 Thread Dean Karres
Hi, I just joined this list. I am new to Django. I have seen several of the most recent postings. I have a question i want to ask but am not sure if this is the correct forum. The question I want to ask is to get advice on what Django module(s) I should use to either get me close to a final

Advice on choosing Django modules?

2018-11-23 Thread Dean Karres
Hi, I have been teaching myself python at the same time I am starting with Django. I have made a great deal of progress with both but am at a place where I could really use some advice. I am trying to build a specialized "Membership" application for a US based non-profit. The non-profit work