You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do you think about creating a settings.py that handles the reading and parsing of the config file? I think it would be nice to separate that logic into another location and allow it to be used anywhere by any of the other files. An example of this would be:
What do you think about creating a settings.py that handles the reading and parsing of the config file? I think it would be nice to separate that logic into another location and allow it to be used anywhere by any of the other files. An example of this would be:
That could then return a config object with the following:
A separate file would also give us a place to put any configuration-related utility methods.
The text was updated successfully, but these errors were encountered: