You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
452 B

from django.db import models
from core.models import QuoteUser
from download.models import Address
# Create your models here.
class QuoteRequest(models.Model):
timestamp = models.DateTimeField(auto_now_add=True, editable=False, null=False, blank=False)
address = models.ForeignKey(Address, on_delete=models.CASCADE, related_name='quote_requests')
user = models.ForeignKey(QuoteUser, on_delete=models.CASCADE, related_name='quote_requests')