Closed modihere closed 5 years ago
GitMate.io thinks a possibly related issue is https://github.com/monsij/StudentPortal/issues/3 (Add Contributors app).
@modihere : Do you want to work on it?
No no. Let the people learn. I have worked more than enough on Django and i don't have time now. Too much for me. :P
@monsij , can I work on this issue?
Assigned @akashgiricse
Solved : #51
Add the python decouple app which separates the settings file from the main Django app for security purposes.
All the important credentials (secret key, debug, email credentials, database credentials) present in settings.py should be defined and initialized in a ".env" file in the main project directory and the settings.py should fetch the data from there. Python decouple does this work very well so use that.
Also take care to make a ".gitignore" file to stop redundant files or files which are specific to people (like migrations, ".env" and the database) from getting uploaded.
The README.md should be updated accordingly for the credentials to be entered first so that the server can be started properly.
These are the basic issues which i found for now and should be patched up soon. You can divide these issues accordingly among different people.
P.S. Add more steps to readme (like makemigrations, migrate, createsuperuser, dbshell) so that even a beginner can start and explore the app.