Models

models.py

from django.db import models

class Document(models.Model):
    name = models.CharField(max_length=244)
    description = models.TextField()
    tokens = models.TextField()
    
    def __str__(self):
        return self.name

  • Last modified: 2020/03/25 17:13