Opened 8 years ago

Closed 8 years ago

Last modified 4 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: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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 Changed 8 years ago by Simon G. <dev@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed
  • Summary changed from tutorial remark to Settings are unable to be imported if project name is the same as the parent directory

Duplicate of #4850

comment:2 Changed 4 years ago by techtonik

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