help pycharm find the models
This commit is contained in:
parent
8679202dbb
commit
cb34ed7d4e
3 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ class Source(models.Model):
|
|||
A map source, images of levels that can be useful as backgrounds for the map editor
|
||||
"""
|
||||
name = models.SlugField(_('source name'), primary_key=True, max_length=50)
|
||||
package = models.ForeignKey('Package', on_delete=models.CASCADE, related_name='sources',
|
||||
package = models.ForeignKey('mapdata.Package', on_delete=models.CASCADE, related_name='sources',
|
||||
verbose_name=_('map package'))
|
||||
|
||||
bottom = models.DecimalField(_('bottom coordinate'), max_digits=6, decimal_places=2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue