Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#13563 closed (fixed)

geodjango tutorial broken for 1.2.x

Reported by: TerryBrown <terry_n_brown@…> Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords: geodjango tutorial
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The geodjango tutorial at says should read

urlpatterns = patterns('',
                       (r'^admin/(.*)', include(,

but that doesn't work for 1.2.1, whereas

urlpatterns = patterns('',


Change History (3)

comment:1 Changed 6 years ago by Karen Tracey

Component: GISDocumentation
milestone: 1.21.3
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

The pattern should actually be:

    (r'^admin/', include(,

The form is older and on its way to being deprecated. What's currently in the tutorial is an invalid mixture of the older and newer recommended patterns.

comment:2 Changed 6 years ago by Jacob

Resolution: fixed
Status: newclosed

(In [13293]) Fixed #13563, a typo in the GeoDjango tutorial.

comment:3 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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