mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-18 15:57:44 +02:00
13 lines
374 B
Python
13 lines
374 B
Python
from django.db import models
|
|
from django.utils import timezone
|
|
|
|
|
|
class Domain(models.Model):
|
|
domain_name = models.CharField(max_length=300, blank=True, null=True, unique=True)
|
|
domain_description = models.TextField()
|
|
insert_date = models.DateTimeField()
|
|
last_scan_date = models.DateTimeField(null=True)
|
|
|
|
def __str__(self):
|
|
return self.domain_name
|