Code

#19913 closed Uncategorized (invalid)

minor correction of GeoDjango tutorial

Reported by: hqtay Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Under LayerMappings code:
lm.save(strict=True, verbose=verbose)

should instead be:
lm.save(strict=True, verbose=True)

Attachments (0)

Change History (1)

comment:1 Changed 17 months ago by claudep

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

This line is inside a function where verbose is defined as True by default ( def run(verbose=True): ). Therefore, verbose=verbose is totally correct.

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.