Compare commits
2 Commits
84f13ced80
...
3b526c9c6f
Author | SHA1 | Date | |
---|---|---|---|
3b526c9c6f | |||
516e7a04ad |
@ -59,7 +59,8 @@ class Taggable(models.Model):
|
|||||||
class Mapable(models.Model):
|
class Mapable(models.Model):
|
||||||
'''
|
'''
|
||||||
This abstract model class represents an object that can be
|
This abstract model class represents an object that can be
|
||||||
displayed on a map.
|
displayed on a map. Subclasses have to provide absolute urls,
|
||||||
|
see https://docs.djangoproject.com/en/3.1/ref/models/instances/#get-absolute-url
|
||||||
'''
|
'''
|
||||||
class Meta:
|
class Meta:
|
||||||
abstract = True
|
abstract = True
|
||||||
|
Loading…
Reference in New Issue
Block a user