X-Git-Url: https://code.kerkeslager.com/?p=climbing.kerkeslager.com;a=blobdiff_plain;f=src%2Fclimbing%2Fmodels.py;fp=src%2Fclimbing%2Fmodels.py;h=60aa71718ff7cf46a193e1c21b78f45a4895fda1;hp=14c728e7d9e0bd25f390aade9770f47f77f763da;hb=cf5da88d1a9a825414440e536333eb700565dba9;hpb=6ce921c24542984c8256bd5a959e5c67e1ce1c2e diff --git a/src/climbing/models.py b/src/climbing/models.py index 14c728e..60aa717 100644 --- a/src/climbing/models.py +++ b/src/climbing/models.py @@ -70,6 +70,7 @@ class Route(models.Model): related_name='routes', ) name = models.CharField(max_length=64) + mountain_project = models.URLField(blank=True, null=True) notes = models.TextField(blank=True, null=True) def __str__(self): @@ -195,6 +196,7 @@ class Problem(models.Model): name = models.CharField(max_length=64) difficulty = models.CharField(max_length=3, choices=BOULDER_DIFFICULTY_CHOICES) safety = models.CharField(max_length=4, choices=SAFETY_CHOICES) + mountain_project = models.URLField(blank=True, null=True) notes = models.TextField(blank=True, null=True) def __str__(self):