Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

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
http://127.0.0.1:8000/worker/assets/plugins/custom/fullcalendar/fullcalendar.bundle.css


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • 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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(