Added some LINK_DOMAINS. #50
This commit is contained in:
parent
056d937f15
commit
a37a445986
@ -8,9 +8,14 @@ LINK_TYPES = (
|
||||
('vimeo', "Vimeo"),
|
||||
('flickr', 'Flickr'),
|
||||
('googlephotos', "Google Photos"),
|
||||
('photoalbum', "Photo album")
|
||||
('photoalbum', "Photo album"),
|
||||
)
|
||||
|
||||
LINK_DOMAINS = {
|
||||
'youtu.be': 'youtube',
|
||||
'y2u.be': 'youtube',
|
||||
}
|
||||
|
||||
class ExternalLink(PlaceAsset):
|
||||
|
||||
class Meta:
|
||||
|
Loading…
Reference in New Issue
Block a user