As I mentioned, I'm new to Python/ Django, so only starting to get to grips with how it works.
Since, as you say, Django takes my template and uses it to make HTML to send to the browser (and that HTML, the CSS and JS are what the browser/ javascript/ jQuery have to work with), surely that is where I need to make the changes to fix the issue I'm having with not being able to select dates beyond 01/01/2017?
The HTML I pasted in my post above is from my browser's "show HTML", and the Python/ JavaScript/ jQuery I posted in my OP is the Python/ jQuery being used to generate that part of the HTML. What I don't know is what changes I would need to make to the Python/ JavaScript/ jQuery to fix the issue I'm having.
I can't see anywhere in the Python/ JavaScript/ jQuery that is disabling any dates for selection from the `datetimepicker`, and can't see anything in the HTML that's been generated by this code that would indicate that certain dates have been disabled, or that only dates within a certain range should be available...
Surely the templates and Python code are what I need to post to resolve the issue, since as you say, it's the Python and template that is rendering the HTML...?
Apologies if I am misunderstanding what you mean here, but it seems to me that it is the Python or the template that I will need to change in order to see what I want to see in the browser? Is that correct?