Django

Code

Ticket #71 (closed: fixed)

Opened 3 years ago

Last modified 1 year ago

Consider using "example.com" instead of "mysite.com"

Reported by: pb@e-scribe.com Assigned to: jacob
Milestone: Component: Documentation
Version: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

Kind of a fussy detail, but in the example files it might be better to use example.(com|org|net) instead of mysite.com, especially since the URL shows up as a live link at the top of the admin.

Locations as of [181]:

> grep -rn "mysite.com" * | grep -v ".svn"
django/bin/django-admin.py:283:        cursor.execute("INSERT INTO %s (domain, name) VALUES ('mysite.com', 'My Django site')" % core.Site._meta.db_table)
django/conf/admin_templates/base_site.html:7:<h2 id="site-url"><a href="http://www.mysite.com/">mysite.com</a></h2>
docs/faq.txt:223:  example, if you're going to "http://www.mysite.com/admin/" in your browser,
docs/faq.txt:224:  set ``REGISTRATION_COOKIE_DOMAIN = 'www.mysite.com'``.
docs/tutorial02.txt:446:Clearly having "Django administration" and "mysite.com" at the top of each

Attachments

Change History

07/18/05 15:44:17 changed by adrian

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

Fussy details are important! Thanks for reporting this. Fixed in [183].


Add/Change #71 (Consider using "example.com" instead of "mysite.com")




Change Properties
Action