Private
Public Access
1
0

adding courses upload and course delete

This commit is contained in:
Sander Roosendaal
2018-02-20 22:50:34 +01:00
parent 00a6dae6aa
commit d3e3925625
10 changed files with 382 additions and 47 deletions

View File

@@ -664,7 +664,7 @@ class GeoCourse(models.Model):
manager = models.ForeignKey(Rower)
name = models.CharField(max_length=150,blank=True)
country = models.CharField(max_length=150,blank=True)
notes = models.CharField(blank=True,max_length=200,verbose_name='Course Notes')
def __unicode__(self):
name = self.name
return u'{name}'.format(name=name)