Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"TemplateDoesNotExist" this error was occurred while move on to add information. #1

Open
TENSHKUMAR-KKT-2004 opened this issue Apr 11, 2023 · 2 comments

Comments

@TENSHKUMAR-KKT-2004
Copy link

TENSHKUMAR-KKT-2004 commented Apr 11, 2023

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.

@SallyJemimah
Copy link

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

@TENSHKUMAR-KKT-2004
Copy link
Author

i have also try to generate the timetable after fix this issue. But i still can't able to generate the new table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants