from django.db import models # Create your models here. class Equipment(models.Model): created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) is_weight = models.BooleanField(default=False) category = models.CharField(null=True, blank=True, max_length=64) name = models.CharField(null=True, blank=True, max_length=64) def __str__(self): return self.category + " : " + self.name