Files
rengine/targetApp/models.py
T
2020-05-22 12:36:11 +05:30

13 lines
364 B
Python

from django.db import models
from django.utils import timezone
# Create your models here.
class Domain(models.Model):
domain_name = models.CharField(max_length=300)
domain_description = models.TextField()
insert_date = models.DateTimeField()
last_scan_date = models.DateTimeField(null=True)
def __str__(self):
return self.domain_name