11 lines
298 B
Python
11 lines
298 B
Python
from django.db import models
|
|
from booking.models import *
|
|
|
|
# Create your models here.
|
|
class Dest(models.Model):
|
|
|
|
name = models.CharField(max_length=100)
|
|
img = models.ImageField(upload_to='pics')
|
|
desc = models.TextField()
|
|
price = models.IntegerField()
|
|
offer = models.BooleanField(default=False) |