from django.db import models

class SiteUserExtend(models.Model):
    score = models.IntegerField(default=0)
    nimei = models.CharField(max_length=12)

    class Meta:
        abstract = True


class AccountMixIn(object):
    login_template = 'login.html'
    register_template = 'register.html'
    reset_passwd_template = 'reset_password.html'
    change_passwd_template = 'change_password.html'
    notify_template = 'notify.html'
