Add Mountain Project URLs
[climbing.kerkeslager.com] / src / climbing / models.py
index 14c728e..60aa717 100644 (file)
@@ -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):