Renewed get_current_md() based on OL method
This commit is contained in:
@@ -57,6 +57,7 @@ class Match(models.Model):
|
||||
matchDateTime = models.DateTimeField()
|
||||
group = models.IntegerField()
|
||||
matchday = models.IntegerField()
|
||||
matchday_name = models.CharField(max_length=128)
|
||||
idTeam1 = models.ForeignKey(Team, related_name='+')
|
||||
idTeam2 = models.ForeignKey(Team, related_name='+')
|
||||
pointsTeam1 = models.SmallIntegerField()
|
||||
@@ -122,6 +123,7 @@ class Post(models.Model):
|
||||
published = models.BooleanField(default=True)
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
author = models.ForeignKey(User)
|
||||
mandant = models.ForeignKey(Mandant)
|
||||
|
||||
class Meta:
|
||||
ordering = ['-created']
|
||||
|
||||
Reference in New Issue
Block a user