Re: ManyToManyField is this right?

2012-06-27 Thread David Wagner
On Wed, Jun 27, 2012 at 5:27 PM, Thomas Lockhart wrote: > On 6/27/12 11:48 AM, David Wagner wrote: > > Looking at that I think I may need to add a foreignkey to cert_types > relating to person since a person can have multiple certification types > (NRA Instructor, CCL Instructor, etc

Re: ManyToManyField is this right?

2012-06-27 Thread David Wagner
n Wed, Jun 27, 2012 at 3:31 PM, Dennis Lee Bieber wrote: > On Wed, 27 Jun 2012 11:48:22 -0700, David Wagner > declaimed the following in gmane.comp.python.django.user: > > > Looking at that I think I may need to add a foreignkey to cert_types > > relating to person s

Re: ManyToManyField is this right?

2012-06-27 Thread David Wagner
Looking at that I think I may need to add a foreignkey to cert_types relating to person since a person can have multiple certification types (NRA Instructor, CCL Instructor, etc). On Wed, Jun 27, 2012 at 11:40 AM, David Wagner wrote: > i think I may just be over thinking this. The last tim

Re: ManyToManyField is this right?

2012-06-27 Thread David Wagner
translation. On Wed, Jun 27, 2012 at 10:55 AM, Dennis Lee Bieber wrote: > On Wed, 27 Jun 2012 08:02:37 -0700, David Wagner > declaimed the following in gmane.comp.python.django.user: > > > > > class NRA_Certs(models.Model): > > CRSO = models.BooleanField(blank=True,

Re: ManyToManyField is this right?

2012-06-27 Thread David Wagner
e > > class License(models.Model): > name = models.CharField(max_length=255) > expiration = models.DateField(blank=True, null=True) > details = models.TextField() > > With something like this, the User could have multiple licenses like: > Concealed Carry 5/10/2015 an

ManyToManyField is this right?

2012-06-27 Thread David Wagner
I'm a self taught programmer who hasn't done much of anything for years so please forgive me if this question is naive. I have a hard time sometimes understanding some of the lingo used by trained programmers. With that said, I'm having trouble wrapping my brain around the ManyToMany and Many-T