Hello,

I am having a website where people are able to *make bookings for offices*. 
Clients will click on the *calendar that is rendered in JS/JQuery (on 
client side)* to select a date and then book for a specific date via a 
button. To store the booking in my database I am using an Ajax call, which 
works fine. However, I am asking myself now, *how can I properly display 
all bookings for the specific dates? I am not sure how to properly retrieve 
and show the database entries on the client side as dates are selected via 
JS and JQuery.*

I was thinking about using slugs, but then I am unsure how to put the 
content of the slug (e.g 2021/03/17) into my JS/JQuery code to then 
properly render the calendar again on the client side.

Maybe my approach is totally wrong and I would need to setup my 
architecture differently. I am open to any suggestions, however, obviously 
want to do as few changes.

Thank you so much!! Manuel

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7516fecb-1648-41ca-969b-df673d29affbn%40googlegroups.com.

Reply via email to