Skip to content

[Question] Multidate Picker #6

@mykljohn

Description

@mykljohn

Hi, I would like to use this as a multidate picker for scheduling. My thinking was to use a ForeignKey field to connect the to and use that to populate the DatePicker. Is this the best way to do this?

class Product(models.Model):
    desc = models.charfield()

class ProductBooking(models.Model):
    product = models.ForeignKey('catalogue.Product')
    booking_date = models.DateField()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions