[Answered ]-How to create a settings.py file for an existing django project

2👍

In fact is not a best practice to put it on the ignore list based on the opinion of Daniel Greenfeld (AKA Pydany) and Audrey Roy on “Two Scoops of Django”. In fact is recommended that you keep one setting file for every setup your team members have.

Of course the easiest way to proceed is to contact the author and if he is that kind you can get it.

I would recommend the following:

  1. Take a default settings.py from an new project
  2. Locate the requirements.txt and verify which one of the apps located there are
    django base and include them to the settings.py
  3. Include all the
    apps explicitly defined on the project (all the folders different to
    the appname folder)
  4. After that is just trial en error( or more
    like trial and exception).

Leave a comment