JourneyJoker/auction/models.py
Klaus-Uwe Mitterer 54e84be36a Implement login system
Copy over payment system from kumi.xxx
Add missing requirements
Other stuff
2021-03-21 16:50:50 +01:00

16 lines
No EOL
515 B
Python

from django.contrib.gis.db import models
from localauth.models import User
class Inquiry(models.Model):
user = models.ForeignKey(User, models.PROTECT)
destination_name = models.CharField(max_length=128)
destination_coords = models.PointField()
destination_radius = models.IntegerField()
budget = models.DecimalField(max_digits=10, decimal_places=2)
adults = models.IntegerField()
children = models.IntegerField()
comment = models.TextField()
def get_hotels(self):
pass