Is there a way to change GET variables in the URL? #260
Answered
by
adamghill
andy-flatratenow
asked this question in
Q&A
-
I'm coding a calendar at the moment. I would like to adjust the GET vars in the URL when someone changes the month. eg: the user clicks "next month" and the url changes to: mysite.com/calendar/?year=2021&month=9 without a page refresh. Is that possible? Cheers! |
Beta Was this translation helpful? Give feedback.
Answered by
adamghill
Aug 20, 2021
Replies: 1 comment 2 replies
-
https://www.django-unicorn.com/docs/redirecting/#locationupdate should be able to do what you are looking for! Let me know if you run into any issues or if it would make sense to have a |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
adamghill
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.django-unicorn.com/docs/redirecting/#locationupdate should be able to do what you are looking for! Let me know if you run into any issues or if it would make sense to have a
QueryStringUpdate
to make this a little simpler to implement.