summaryrefslogtreecommitdiff
path: root/chimere/main/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/main/models.py')
-rw-r--r--chimere/main/models.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/chimere/main/models.py b/chimere/main/models.py
index c977446..283ae1d 100644
--- a/chimere/main/models.py
+++ b/chimere/main/models.py
@@ -29,7 +29,6 @@ from chimere import settings
from chimere.main.widgets import PointField, RouteField, \
ManyToManyField_NoSyncdb
-
class News(models.Model):
"""News of the site
"""
@@ -337,7 +336,7 @@ class Area(models.Model, SimpleArea):
"""Rectangular area of the map
"""
name = models.CharField(_("Name"), max_length=150)
- url = models.CharField(_("Url"), max_length=100, blank=True)
+ urn = models.CharField(_("Area urn"), max_length=100, blank=True)
subcategories = ManyToManyField_NoSyncdb(SubCategory,
related_name='subcategories', blank=True, null=True,
db_table=u'subcategory_areas')