Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

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.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(