Added some LINK_DOMAINS. #50

This commit is contained in:
Marcus Scholz 2021-10-02 06:00:25 +02:00
parent 056d937f15
commit a37a445986

View File

@ -8,9 +8,14 @@ LINK_TYPES = (
('vimeo', "Vimeo"), ('vimeo', "Vimeo"),
('flickr', 'Flickr'), ('flickr', 'Flickr'),
('googlephotos', "Google Photos"), ('googlephotos', "Google Photos"),
('photoalbum', "Photo album") ('photoalbum', "Photo album"),
) )
LINK_DOMAINS = {
'youtu.be': 'youtube',
'y2u.be': 'youtube',
}
class ExternalLink(PlaceAsset): class ExternalLink(PlaceAsset):
class Meta: class Meta: