Opened 13 years ago

Closed 13 years ago

#996 closed defect (invalid)

django-admin startproject myproject still create myproject\settings

Reported by: vivian@… Owned by: Adrian Holovaty
Component: Core (Management commands) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Dear Django,

I was trying to do the Django tutorial (using the sqlite3 database but I don't think it is important to what follows)

django-admin startproject myproject

And Django complain after:

django-admin init --settings=myproject.settings

After debugging a bit it appears that my settings was'nt read.

In the tutorial you ask for modification into:


But django-admin startproject myproject still create

myproject/settings and

So the command "import myproject/settings" import myproject/settings/ instead of myproject/

If I delete myproject/settings think seems to go smoothly.

I know that few weeks ago you merged admin and main sites, I wonder if django-admin startproject has been updated since then.

Thanks very much for your nice project, nice web site and clear documentation it make me wanting to do web sites :-) with Python.
Consider this ticket as the expression of my gratefullness and my awkward whish to contribute.


Change History (3)

comment:1 Changed 13 years ago by Adrian Holovaty

Thanks for the ticket, Vivian. Can you check to see whether you have a "django/conf/project_template/settings" directory in your Django source-code tree? If you do, you'll need to delete that. We removed that directory a while ago, but Subversion tends to hold onto directories through "svn update".

comment:2 Changed 13 years ago by anonymous

Thanks for your reply and sorry for my wrong ticket. My mistake was that I used install without deleting the build folder and it seems that the install do not clean it before hand. The django/conf/project_template/settings folder was in that folder and was reinstalled each time I run install.

Thanks again for your reactivity and your beatifull framework :-)

comment:3 Changed 13 years ago by Adrian Holovaty

Resolution: invalid
Status: newclosed

Cool, no problem. I'm closing the ticket.

Note: See TracTickets for help on using tickets.
Back to Top