Code

Opened 5 years ago

Closed 5 years ago

#10049 closed (duplicate)

command 'startproject' not available in django-admin.py

Reported by: Pit Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

In 'Writing your first Django app, part 1' the 'django-admin.py startproject mysite' is described as the way to set up a new project.

In Django 1.X it seems that this is no longer valid.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by kmtracey

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

I'm going to guess you're hitting the situation where startproject is disabled if there's a settings module already specified.

#8329 covers providing better feedback for this case. Other defects, already fixed, covered noting this behavior in the docs: http://docs.djangoproject.com/en/dev/ref/django-admin/#startproject-projectname

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.