remove name field from most mapdata models
This commit is contained in:
parent
baecf08aea
commit
89ab60b395
10 changed files with 96 additions and 39 deletions
|
@ -8,6 +8,7 @@ class Source(Feature):
|
|||
"""
|
||||
A map source, images of levels that can be useful as backgrounds for the map editor
|
||||
"""
|
||||
name = models.SlugField(_('Name'), unique=True, max_length=50)
|
||||
bottom = models.DecimalField(_('bottom coordinate'), max_digits=6, decimal_places=2)
|
||||
left = models.DecimalField(_('left coordinate'), max_digits=6, decimal_places=2)
|
||||
top = models.DecimalField(_('top coordinate'), max_digits=6, decimal_places=2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue