Django

Code

Ticket #2592 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

[patch] tutorial01.txt should note that you can't name your site "site"

Reported by: marcdm@phronein.com Assigned to: jacob
Milestone: Component: Documentation
Version: Keywords: tutorials
Cc: dev@simon.net.nz Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

My very first experience with Django, I executed the command :

django-admin.py startproject site

And the rest of the tutorial didn't work. I then deleted the site folder, and did it again, this time with a folder named "www" it worked that time.

Does this mean the site can't be named site?

Attachments

2592.diff (2.3 kB) - added by Simon G. <dev@simon.net.nz> on 01/23/07 06:03:50.

Change History

01/23/07 06:03:22 changed by Simon G. <dev@simon.net.nz>

  • cc set to dev@simon.net.nz.
  • keywords set to tutorials.
  • summary changed from tutorial01.txt should note that you can't name your site "site" to [patch] tutorial01.txt should note that you can't name your site "site".
  • version deleted.
  • stage changed from Unreviewed to Accepted.

I've updated the tutorial information for this and made a few other changes based on the comments on the tutorial 1 page.

Not sure what the policy is regarding outdated comments, but IMO they should be removed. The ones that I think are invalid or incorporated into this patch are:

	"ray August 14, 2006 at 6:20 a.m." (documented)
	"dave a. September 1, 2006 at 11:28 a.m." (documented)
	"Eddy Mulyono September 25, 2006 at 6:09 p.m." (misconfiguration)
	"Helmar October 1, 2006 at 9:31 a.m." (documented)
	"Maximillian Dornseif October 2, 2006 at 12:57 a.m." (all examples do this anyway)
	"Peter Silcock October 24, 2006 at 4:37 a.m." (site issue again)
	"Jeremy Dunck November 23, 2006 at 11:08 a.m." (site thing again)
	"Taum December 28, 2006 at 11:29 a.m." (site..)
	"ME January 13, 2007 at 7:13 p.m."

01/23/07 06:03:50 changed by Simon G. <dev@simon.net.nz>

  • attachment 2592.diff added.

01/23/07 06:04:17 changed by Simon G. <dev@simon.net.nz>

  • has_patch set to 1.

02/26/07 12:57:05 changed by ubernostrum

  • stage changed from Accepted to Ready for checkin.

02/26/07 12:57:45 changed by ubernostrum

  • stage changed from Ready for checkin to Accepted.

My bad, working on the wrong ticket.

02/26/07 14:51:21 changed by jacob

  • status changed from new to closed.
  • resolution set to fixed.

(In [4618]) Fixed #2592: Added a warning to tutorial 1 about not naming your project "site" or "django" or anything else similarly boneheaded.


Add/Change #2592 ([patch] tutorial01.txt should note that you can't name your site "site")




Change Properties
Action