Opened 17 years ago

Closed 17 years ago

Last modified 14 years ago

#5217 closed (duplicate)

Settings are unable to be imported if project name is the same as the parent directory

Reported by: spe.stani.be@… Owned by: Jacob
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

"From the command line, cd into a directory where you’d like to store your code, then run the command django-admin.py startproject mysite. This will create a mysite directory in your current directory." This will not work when the the project name is the same as the parent directory. (Eg. in the folder mysite, you can't start mysite.) Django will fail to import the settings.

Change History (2)

comment:1 by Simon G. <dev@…>, 17 years ago

Resolution: duplicate
Status: newclosed
Summary: tutorial remarkSettings are unable to be imported if project name is the same as the parent directory

Duplicate of #4850

comment:2 by anatoly techtonik, 14 years ago

Wrong duplicate, the problem is in #1908 and it is repeatable with Django 1.1.2 and Python 2.7

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