Opened 8 years ago

Closed 8 years ago

#6190 closed (invalid)

Part 3 Feedback

Reported by: txcine-dp@… 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:


In the section of Part 3: Time for an example. "Edit mysite/ so it looks like this:"

You should note explicitly to comment out or delete the (r'^admin/', include('django.contrib.admin.urls')), in the mysite/ or you should have steps where both the "results" and "vote" views are added. The simply won't work with admin and polls.views.results and/or polls.views.results as is (i.e. w/o their respective views).

However, if you delete (or comment out) the url point to admin, you obviously can't navigate to /admin anymore.

I'm just stating this from a noob's point of view.

Change History (3)

comment:1 Changed 8 years ago by Ron <txcine-dp@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 8 years ago by anonymous

This ticket looks bogus to me.

The tutorial clearly states that no views have been created yet in section Write your first view.

But it's true that Time for an example. Edit mysite/ so it looks like this: does not contain admin views, this should perhaps be fixed.

comment:3 Changed 8 years ago by arien

  • Resolution set to invalid
  • Status changed from new to closed

The tutorial asks you to edit your so that it looks like the given (which doesn't contain any pattern for admin views).

The polls views aren't supposed to work at that point; you haven't written them yet. See Write your first view.

(Ticket #6286 is about the fact that django.contrib.admin.urls isn't included in

Marking as invalid.

Note: See TracTickets for help on using tickets.
Back to Top