Algo-Phantoms-Backend icon indicating copy to clipboard operation
Algo-Phantoms-Backend copied to clipboard

solved issue regarding local_settings.py file not found

Open patilkrunal opened this issue 3 years ago • 4 comments

Related Issue

  • Error about local_settings.py not found during initial setup of project

Closes: #5

Describe the changes you've made

  • Added steps in README.md of how to setup local_settings.py file for local system and to ignore it in .gitignore
  • moved relevant settings.py settings to local_settings.py file like secret_key, database configuration, email host configurations

Checklist:

  • [x] My code follows the style guidelines of this project.
  • [x] I have performed a self-review of my own code.
  • [x] I have commented my code, particularly in hard-to-understand areas.
  • [x] I have made corresponding changes to the documentation.
  • [x] My changes generate no new warnings.

patilkrunal avatar Mar 14 '21 06:03 patilkrunal

Maintainers (@diyajaiswal11) please add the gssoc21 tag to issue #5. Also if you could assign it to me and then merge my PR it will help me to progress in gssoc21. Suggest any changes if needed.

patilkrunal avatar Mar 14 '21 06:03 patilkrunal

I've mentioned how to create local_settings.py file while setting up the project before makemigrations. And have copy pasted these secret_key, database config, email config in readme.me. so the one who will setup might follow it properly.

And if local_settings.py is included and not put in .gitignore then that will have no impact of creating another local_settings.py differently.

patilkrunal avatar Mar 14 '21 16:03 patilkrunal

Hey @patilkrunal, let's wait on out project admin's review on this. Till then, can you solve the merge conflicts? Thanks! 😄

hmangukia avatar Mar 14 '21 18:03 hmangukia

resolved. Also local_settings.py was put inorder to have private information on localmachine itself and not in public. so it will be better to include local_settings.py file.

patilkrunal avatar Mar 14 '21 19:03 patilkrunal