More documentation
This commit is contained in:
parent
943d647a47
commit
516e7a04ad
@ -57,7 +57,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