First commit: basic users

This commit is contained in:
Skia
2015-11-18 09:44:06 +01:00
commit 5bd40b2ec4
19 changed files with 290 additions and 0 deletions

17
core/models.py Normal file
View File

@ -0,0 +1,17 @@
from django.db import models
from django.contrib.auth.models import AbstractUser
import logging
logging.basicConfig(level=logging.DEBUG)
class User(AbstractUser):
nick_name = models.CharField(max_length=30)
def __str__(self):
return self.get_username()
class Page:
pass