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

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