Demo2 Template Not Loading in Django
I had copied demo2 html folder to django _templates folder and created an app to load the template. But the path is not loading styles and css files.
Below is a sample css path
Replies (1)
To resolve the issue, you can use the following helper function to call FullCalendar and check the KT_THEME_VENDORS setting in your settings.py file:
Helper Function:
Add the following helper function to your template or view to call FullCalendar:
KTTheme.addVendors(["fullcalendar"]); Check KT_THEME_VENDORS Setting:
In your Django project, locate the settings.py file, which is typically found in the project's main directory (/django/starterkit/_keenthemes/settings.py). Check the KT_THEME_VENDORS setting to ensure that FullCalendar is included in the list of vendors:
KT_THEME_VENDORS = [
...
"fullcalendar",
...
] If fullcalendar is not included in KT_THEME_VENDORS, add it to the list of vendors.
Make sure to restart your Django server after making these changes.