mirror of
https://github.com/krislamo/DJ-BaseSite
synced 2025-09-11 21:49:28 +00:00
First Commit
This commit is contained in:
0
myproject/accountprofile/__init__.py
Normal file
0
myproject/accountprofile/__init__.py
Normal file
7
myproject/accountprofile/models.py
Normal file
7
myproject/accountprofile/models.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django.db import models
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
class UserProfile(models.Model):
|
||||
user = models.ForeignKey(User, unique=True)
|
||||
activated = models.BooleanField()
|
||||
activatekey = models.CharField(max_length=25, blank=True)
|
Reference in New Issue
Block a user