Code

Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#318 closed defect (fixed)

Missing ')' in SlugField code example

Reported by: django@… Owned by: jacob
Component: *.djangoproject.com Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

On the Model API page, the SlugField example is:

meta.SlugField("slug", prepopulate_from=("pre_name", "name"),

But should read:

meta.SlugField("slug", prepopulate_from=("pre_name", "name")),

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by adrian

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

(In [508]) Fixed #318 -- Fixed typo in docs/model-api.txt. Thanks, django@…

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.