Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#15862 closed Bug (fixed)

Error in post_syncdb example

Reported by: andialbrecht Owned by: nobody
Component: Documentation Version: 1.2
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX:

Description

The example given in the post_syncdb documentation seems to be wrong. In r15104 an example mentioning "yourapp/signals/init.py" was added, but the first paragraph of the post_syncdb documentation clearly states that the signal handlers must live in the management module.

The simple patch attached replaces "yourapp/signals/init.py" with "yourapp/management/init.py".

Attachments (1)

post_syncdb_docfix.diff (541 bytes) - added by andialbrecht 3 years ago.

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by andialbrecht

comment:1 Changed 3 years ago by waltercacau

  • Easy pickings set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 3 years ago by waltercacau

  • Triage Stage changed from Accepted to Ready for checkin

comment:3 Changed 3 years ago by SmileyChris

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

In [16091]:

Fixes #15862 -- Error in post_syncdb documentation example. Thanks for the report and patch andialbrecht.

comment:4 Changed 3 years ago by SmileyChris

In [16092]:

[1.3.X] Fixes #15862 -- Error in post_syncdb documentation example. Thanks for the report and patch andialbrecht.

Backport of r16091 from trunk.

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.