Add updated front end, updated CaseStudy model and profiles app
This commit is contained in:
5
apps/map/validators.py
Normal file
5
apps/map/validators.py
Normal file
@ -0,0 +1,5 @@
|
||||
from django.core.validators import RegexValidator
|
||||
|
||||
|
||||
class YoutubeURLValidator(RegexValidator):
|
||||
regex = r'https?:\/\/(((www.)?youtube.com\/((watch\?v=)|(watch\/)))|(youtu.be\/))([A-z0-9]{1,11}).+'
|
Reference in New Issue
Block a user