Ask coding questions

← Back to all posts
config module not found
A036Nikhil (0)

I am following Flask MEga tutorial and I tried creating new config file but they are now saying that I have no module anme config, event hough i have created both py file and object.

FishballNooodle (211)

You can replace Line 2 in app/ with

import config
Config = config.Config

Apart from that, you don't need all the Config nonsense,
if u delete that line it should still work.