Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Multidate Picker #6

Open
mykljohn opened this issue Oct 6, 2017 · 0 comments
Open

[Question] Multidate Picker #6

mykljohn opened this issue Oct 6, 2017 · 0 comments

Comments

@mykljohn
Copy link

mykljohn commented Oct 6, 2017

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()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant