Parents can't enroll children in courses

2013-08-08 Thread Chris Ryan
I submitted this question in much, much more detail a couple of weeks ago but got no response. I'm thinking that maybe I gave you too much information. So, I thought I'd try just one more time. I have a table of family members. Some of them are students. These students are enrolled in one or

SOLVED: modelformset_factory not validating multiple forms

2013-08-01 Thread Chris Ryan
I found the problem! The fields were being processed as expected but since I am using the FamilyMember table as the authentication table I needed to include the username and other fields (as hidden). On Thursday, August 1, 2013 9:13:18 AM UTC-4, Chris Ryan wrote: > > Hop

modelformset_factory not validating multiple forms

2013-08-01 Thread Chris Ryan
Hopefully this is an easy one. I have read through the documentation, searched online and just can't find a way around this error. I have two formsets that I've displayed in one view. The second formset is not validating upon POST so it won't save to the database. None of the fields are

What is the best way to architect this part of the application?

2013-07-31 Thread Chris Ryan
I thank you again for answering a different question a couple of weeks ago. Today, however, I'm struggling with the best way to architect a part of my app. I'm hoping that you can help me figure out the best way to provide the necessary functionality to the user. I am building an application

Re: Backwards in the relationship chain?

2013-07-24 Thread Chris Ryan
Sorry. I should have typed the ID as lower case id in {% if user.Family. <http://user.family.id/>id = object.Teacher.id.Family.<http://object.teacher.id.family.id/> id %} On Wednesday, July 24, 2013 3:28:52 PM UTC-4, Chris Ryan wrote: > > Thank you so much for the re

Re: Backwards in the relationship chain?

2013-07-24 Thread Chris Ryan
", not > certain and don't have time to search the documents now), but whose name > your can specify with the "related_name" argument to the ForeignKey field. > This manager has all the usual queryset methods, so you can append ".all()' > to get an array of all the

Backwards in the relationship chain?

2013-07-24 Thread Chris Ryan
I have spent hours trying to find the answer to this. What makes it even more frustrating is that I'm new to django development and not a real programmer by trade (I am a UNIX admin) so I am struggling to label what I am trying to do so that I can search for an answer. Here's what I have: