from __future__ import unicode_literals
from django.db import models
import re


EMAIL_REGEX = re.compile(r'^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+$')

class UserManager(models.Manager):
    def email_validate(self, email):
        return EMAIL_REGEX.match(email)
    def pw_validate(self, password, confirm):
        return password == confirm
# Create your models here.
class User(models.Model):
    email = models.CharField(max_length=45)
    first_name = models.CharField(max_length=45)
    last_name = models.CharField(max_length=45)
    password = models.CharField(max_length=100)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now_add=True)
    objects = UserManager()

8060200fa2ee8aeab14ef8bbc0a263990462f9ef
<mask token>


class UserManager(models.Manager):
    <mask token>

    def pw_validate(self, password, confirm):
        return password == confirm


class User(models.Model):
    email = models.CharField(max_length=45)
    first_name = models.CharField(max_length=45)
    last_name = models.CharField(max_length=45)
    password = models.CharField(max_length=100)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now_add=True)
    objects = UserManager()

<mask token>


class UserManager(models.Manager):

    def email_validate(self, email):
        return EMAIL_REGEX.match(email)

    def pw_validate(self, password, confirm):
        return password == confirm


class User(models.Model):
    email = models.CharField(max_length=45)
    first_name = models.CharField(max_length=45)
    last_name = models.CharField(max_length=45)
    password = models.CharField(max_length=100)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now_add=True)
    objects = UserManager()

<mask token>
EMAIL_REGEX = re.compile('^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9._-]+\\.[a-zA-Z]+$')


class UserManager(models.Manager):

    def email_validate(self, email):
        return EMAIL_REGEX.match(email)

    def pw_validate(self, password, confirm):
        return password == confirm


class User(models.Model):
    email = models.CharField(max_length=45)
    first_name = models.CharField(max_length=45)
    last_name = models.CharField(max_length=45)
    password = models.CharField(max_length=100)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now_add=True)
    objects = UserManager()

from __future__ import unicode_literals
from django.db import models
import re
EMAIL_REGEX = re.compile('^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9._-]+\\.[a-zA-Z]+$')


class UserManager(models.Manager):

    def email_validate(self, email):
        return EMAIL_REGEX.match(email)

    def pw_validate(self, password, confirm):
        return password == confirm


class User(models.Model):
    email = models.CharField(max_length=45)
    first_name = models.CharField(max_length=45)
    last_name = models.CharField(max_length=45)
    password = models.CharField(max_length=100)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now_add=True)
    objects = UserManager()

from __future__ import unicode_literals
from django.db import models
import re


EMAIL_REGEX = re.compile(r'^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+$')

class UserManager(models.Manager):
    def email_validate(self, email):
        return EMAIL_REGEX.match(email)
    def pw_validate(self, password, confirm):
        return password == confirm
# Create your models here.
class User(models.Model):
    email = models.CharField(max_length=45)
    first_name = models.CharField(max_length=45)
    last_name = models.CharField(max_length=45)
    password = models.CharField(max_length=100)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now_add=True)
    objects = UserManager()
