Hi,
I would like to calculate the availability of a service which holds zero or
more events. The model looks like this:
class Service(models.Model):
name = models.CharField(max_length=75)
class Event(models.Model):
event_class = models.CharField(max_length=75)
service = models.Forei
Thanks alot! This was really helpful, and yes you're right, the g
field is redundant.
Thanks again!
On Jan 3, 6:36 pm, greatlemer wrote:
> On Jan 3, 2:36 pm, Tijmen wrote:
>
>
>
> > Hi there,
>
> > First of all let me say I'm just starting here but n
c
- season
A game is played with several players, each player has statistics for
this game and a game is part of a season. Now I'm a bit lost in what
kind of relationship I should use. models.ManyToManyField or
models.ForeignKey... And where I should put the statement.
Any help would be grea
3 matches
Mail list logo