Klaus-Uwe Mitterer
54e84be36a
Copy over payment system from kumi.xxx Add missing requirements Other stuff
16 lines
No EOL
515 B
Python
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 |