Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Create your models here.
- class RowInfo(models.Model):
- class Meta:
- abstract = True
- updated = models.DateField(default=django.utils.timezone.now())
- created = models.DateField(default=None)
- # updated = models.ForeignKey(settings.AUTH_USER_MODEL,on_delete=models.CASCADE)
- # created = models.ForeignKey(settings.AUTH_USER_MODEL,on_delete=models.CASCADE)
- class Dicti(RowInfo):
- code = models.CharField(max_length=255,null=True,blank=True)
- numcode = models.IntegerField(null=True,blank=True)
- fullname = models.CharField(max_length=255)
- shortname = models.CharField(max_length=255)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement