TimetableGeneratorApp
TimetableGeneratorApp copied to clipboard
"TemplateDoesNotExist" this error was occurred while move on to add information.
Issue
When I am going to add a course or professors details or other information that send's a error like this.
TemplateDoesNotExist at /add-professor/
Solution
To solve this problem we need to install the package "crispy-bootstrap4" package first of all.
pip install crispy-bootstrap4
And in settings.py
INSTALLED_APPS = [
...,
'crispy_forms',
'crispy_bootstrap4', # Forgetting this was probably your error
]
And then at the bottom of the page of settings.py
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap4"
CRISPY_TEMPLATE_PACK = "bootstrap4"
This worked for me solving the TemplateDoesNotExist error.
Thank You, it helped. And were you able to generate the timetable? Mine was empty when clicked view timetable even after providing all the necessary details
i have also try to generate the timetable after fix this issue. But i still can't able to generate the new table.