Code

Opened 6 years ago

Closed 6 years ago

#7352 closed (invalid)

typo in description of the 3rd item?

Reported by: appl734e Owned by: nobody
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

According zour cookbook I've remove the comment char:
Edit your mysite/urls.py file and uncomment the line below “Uncomment this for admin:”. This file is a URLconf; we’ll dig into URLconfs in the next tutorial. For now, all you need to know is that it maps URL roots to applications.
Afrer pressing "reload current page" I've get mismatched infos:
Page not found (404)
Request Method: GET
Request URL: http://10.29.38.170:8787/
Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order:

  1. admin/

The current URL, /, didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

Thanks for help apple

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by russellm

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

I can't work out what your problem is. Most of this bug report is the contents of the default 404 page, which sounds like exactly the right output for the actions you describe.

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.