#5217 closed (duplicate)
Settings are unable to be imported if project name is the same as the parent directory
Reported by: | 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 , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Summary: | tutorial remark → Settings are unable to be imported if project name is the same as the parent directory |
comment:2 by , 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.
Duplicate of #4850