<gh_stars>0
from django.core.exceptions import ValidationError

def validate_author_email(value):
	if not "@" in value:
		raise ValidationError("Not a valid email")
	return value
	
def validate_admin(value):
	if "admin" in value:
		raise ValidationError("Not a valid email")
	return value