from django.db import models # Create your models here. class user_model(models.Model): wgName = models.CharField(max_length=300) wgMail = models.EmailField(max_length=254) wgKey = models.CharField(max_length=20) wgDin = models.IntegerField() wgDout = models.IntegerField() wgStatus = models.CharField(max_length=254) wgTStamp = models.CharField(max_length=254) def _str_(sefl): return self.wgMail