# Path: userprofiles/settings.py
# class Settings(object):
#     def __init__(self, **kwargs):
#     def __getattr__(self, key):
# def validate_settings():


from datetime import timedelta
from django.contrib.auth.models import User
from django.db import models
from django.utils import timezone
from django.utils.translation import ugettext_lazy as _
from userprofiles.settings import up_settings
import uuid
# -*- coding: utf-8 -*-




def generate_token():
    return str(uuid.uuid4())


def generate_confirm_expire_date():

# Path: userprofiles/settings.py
# class Settings(object):
#     def __init__(self, **kwargs):
#     def __getattr__(self, key):
# def validate_settings():


# Path: userprofiles/contrib/emailverification/models.py
from datetime import timedelta
from django.contrib.auth.models import User
from django.db import models
from django.utils import timezone
from django.utils.translation import ugettext_lazy as _
from userprofiles.settings import up_settings
import uuid

# -*- coding: utf-8 -*-




def generate_token():
    return str(uuid.uuid4())


def generate_confirm_expire_date():

    return timezone.now() + timedelta(days=up_settings.EMAIL_VERIFICATION_DAYS)