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

Metronic application throwing error


Hello,

On loading project, this is an error with Metronic :

[Sun Sep 18 ] [wsgi:error] [pid 11665] [remote 1XXXX] 'Loading KTBootstrapDefault from _templates.layout._bootstrap.default'
[Sun Sep 18 ] [wsgi:error] [pid 11665] [remote 1XXXX] 'Loading KTBootstrapAuth from _templates.layout._bootstrap.auth'

I tried, without success, to change :
from django.conf import settings
by this :
from _keenthemes.settings import settings

Thanks a lot


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 (4)


Hi bro, could you solve this issue, I’m in the same situation. This gives me a 500 code in Apache.

Thanks



Hi,

I tried using this command to run


py manage.py runserver


<img src="https://i.ibb.co/kVnbMVM/image.png" alt="image" border="0">

The Django app seems working fine.

Thanks



Hi ,

i'm using Django, but the problem is still there.

Thanks



Hi,

Sorry for the delay. May I know, if you are using Django or Flask?

Django use this statement to import settings

from django.conf import settings


While below is for Flask

from _keenthemes.settings import settings


Thanks


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  :(