GENDER_CHOICES = [('m', 'Male'), ('f', 'Female')]
AGE_MIN = 18
AGE_MAX = 100

PHONE_NUMBER_MAX_LENGTH = 13
PROFILE_IMAGE_ALLOWED_EXTENSIONS = ['jpg', 'png', 'gif', 'jpeg']
PROFILE_IMAGE_HEIGHT_MAX = 1000
PROFILE_IMAGE_WIDTH_MAX = 1000
PROFILE_IMAGE_SIZE_MAX = 5  # in MB
PROFILE_IMAGE_HEIGHT_MIN = 128
PROFILE_IMAGE_WIDTH_MIN = 128

TAG_IMAGE_ALLOWED_EXTENSIONS = ['jpg', 'png', 'gif', 'jpeg']
TAG_IMAGE_HEIGHT_MAX = 2000
TAG_IMAGE_WIDTH_MAX = 2000
TAG_IMAGE_SIZE_MAX = 15  # in MB
TAG_IMAGE_HEIGHT_MIN = 128
TAG_IMAGE_WIDTH_MIN = 128

TAG_TITLE_LENGTH_MAX = 100
POST_TITLE_LENGTH_MAX = 100

POST_ALLOWED_IMAGE_EXTENSIONS = ['jpg', 'png', 'gif', 'jpeg']
POST_IMAGE_HEIGHT_MAX = 2000
POST_IMAGE_WIDTH_MAX = 2000
POST_IMAGE_SIZE_MAX = 15  # in MB
POST_IMAGE_HEIGHT_MIN = 128
POST_IMAGE_WIDTH_MIN = 128

# The attributes should not have space (use dash only).
POSITION_CHOICES = ['user', 'admin', 'author', 'superuser']
