hi,
model
class room_type(models.Model):
room_type_id = models.AutoField(primary_key=True,null=False,blank=False)
room_type_name =
models.CharField(max_length=100,unique=True,null=False,blank=False)
room_type_desc = models.TextField(null=True)
standard_occupancy = models.IntegerField()
higher_occupancy = models.IntegerField()
base_price = models.DecimalField(max_digits=8, decimal_places=2)
higher_price = models.DecimalField(max_digits=8, decimal_places=2)
status = models.ForeignKey('common.status')
facility = models.ManyToManyField('facilities')
service = models.ManyToManyField('services')
tax= models.ManyToManyField('revenue_management.tax_types')
image = models.ImageField(upload_to='roomtype_images')
This wil display a form with only one image field in the admin site , but i
need multiple image uploads for the room type, how to customize the admin
site for multiple image upload
Thanks in advance
--
View this message in context:
http://old.nabble.com/How-to-use-subqueries-in-django-tp26387486p26473029.html
Sent from the django-users mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=.