home / django_tickets / tickets

tickets: 176

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
176 2005-07-24 16:07:54 2005-07-25 01:31:22 2022-03-06 03:19:57.483345 Unreviewed closed Tools defect normal   invalid Database settings should not be kept in settings.main for ease of packaging. I'm currently developing a project which I hope will be reusable. This obviously includes a certain amoutn fo setting thins up in settings.main. However, when it comes to packaging this project, I'm goign to have to keep remembering to remove my database setting from the file before uploading. Ditto if I want to keep my project in a public svn repository. I propose moving the database settigns by default to settings/db.py which will be imported from within main.py This file will be created by {{{django-admin startproject}}} but a new command should be added to just add the skeleton db.py file to projects that have been distributed without it. adrian moof@metamoof.net django-admin database settings distribution 0 0 0 0 0 0
Powered by Datasette · Queries took 2.217ms