Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Split settings.py #4

Open
ghost opened this issue Apr 22, 2022 · 0 comments
Open

Split settings.py #4

ghost opened this issue Apr 22, 2022 · 0 comments
Labels
good first issue Good for newcomers MobSF Label for MobSF Issues

Comments

@ghost
Copy link

ghost commented Apr 22, 2022

If you're requesting a new feature/enhancement, explain why you'd like it to be added and it's importance.

Is your feature request related to a problem? Please describe.
settings.py hosts both required MobSF/Django config and local config.
Each time MobSF version is updated, need to merge local settings (e.g., USE_HOME, DB config, ALLOWED_HOSTS) into the updated settings.py

~/MobSF/config.py allows for customizing some values, but can't host Django settings.

Describe the solution you'd like
Split the file into settings.py and local_settings.py (ideally loaded from ~/.MobSF).

Describe alternatives you've considered
Manual merge

Additional context
Django wiki about splitting settings: https://code.djangoproject.com/wiki/SplitSettings

@ghost ghost added the MobSF Label for MobSF Issues label Apr 22, 2022
@siddharth2798 siddharth2798 added the good first issue Good for newcomers label Apr 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers MobSF Label for MobSF Issues
Projects
None yet
Development

No branches or pull requests

1 participant