Closed ameistad closed 9 years ago
@ameistad Do we really need to load the database settings from a environment variable. Using sqlite3 locally and postgres in production is sufficient and just works.
Yeah, doesn't matter much, only matters if somebody uses a password on the local database. But let's keep it as is for simplicity.
I suggest we move the database settings in base.py to local.py. We already have settings for Heroku in production.py and there is no need to import local database settings in production.
I also suggest we read database settings in local from environment variables. If you want to use PostgreSQL you can set the the variable with