Unable to select date beyond 01/01/2017 in datetimepicker?

Unable to select date beyond 01/01/2017 in datetimepicker?

I have a Python/ Django project, and one of the forms on one of the webpages has a `datetimepicker` field. I'm having some issues with this field at the moment- it is not possible to select a date beyond 01/01/2017... all of the options beyond this date are 'greyed out' and unselectable. I've been working through the code for my project, and can't find any issues that would cause this- that aren't any calls to `options.allowDates` that would prevent these dates from being selectable, or anything else that is intentionally preventing the user from selecting a date beyond 01/01/2017.

The section of HTML from the template on which this date field is shown is:

  1. <td colspan="6">
  2. {% if not field.name == 'pdf_package_dep' %}
  3. {% if field.name == 'presentation_date' %}
  4. {% with presentation_form.instance.meeting as meeting %}
  5. {% include "projects/includes/meeting_bit.html" with employee=request.user.employee meeting=meeting UID=presentation_form.instance.id %}
  6. {% endwith %}
  7. {# <a class="ical_trigger button" data-view-url="{% url 'events:add_to_cal' %}" {% if not field.value %}style="display:none"{% endif %}>Add to calendar</a> #}
  8. {% else %}
  9. {{field}}
  10. {% endif %}
  11. {% endif %}
  12. </td>
and the part of meeting_bit.html that's being used by the `include` is:
  1. <div id="cal_{{field.name}}_{{UID}}">
  2. {{field}}
  3. <a class="ical_trigger button" data-view-url="{% url 'events:add_to_cal' %}" {% if not field.value %}style="display:none"{% endif %}>
  4. {% if meeting.event_id %}Update calendar event{% else %}Add to calendar{% endif %}
  5. </a>
  6. </div>
The Python view that is rendering this HTML is:

  1. def concept(request, project_id):
  2. project = Project.objects.prefetch_related('budget_versions').get(id=project_id)
  3. deposit = Deposit.objects.get_or_create(project=project)[0]
  4. presentations = project.budget_versions.select_related('meeting').prefetch_related('budget_items', 'cci_items', 'presenters').filter(version_number__isnull=False).annotate(vn=F('version_number') * -1).order_by('presentation_date', 'created', '-vn')
  5. end_details = EndDetails.objects.get_or_create(project=project)[0]
  6. presentation_formset = BudgetPresentationFormset(prefix="presentations", instance=project, queryset=presentations)
  7. drawing_formset = DrawingUploadFormset(prefix="drawings", queryset=Drawing.objects.filter(budget__in=presentations).order_by('budget__presentation_date', 'budget__created'))

  8. context = {
  9. 'project': project,
  10. 'presentations': presentations,
  11. 'presentation_formset': presentation_formset,
  12. 'drawing_formset': drawing_formset,
  13. 'deposit_form': DepositInfoForm(instance=deposit),
  14. 'ended_form': EndDetailsForm(instance=end_details),
  15. 'budget_notes_form': BudgetNotesForm(instance=project.budget_overview),
  16. }

  17. return render(request, 'projects/concept.html', context)

Anyone have any ideas why I'm unable to select a date beyond 01/01/2017? How can I resolve this?