Opened 17 years ago

Closed 17 years ago

#3223 closed defect (fixed)

Missing # in "documentation/model_api section" "Field name restrictions"

Reported by: david.van.mosselbeen@… Owned by: Jacob
Component: Documentation Version:
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

There's an missing # in the example:

class Example(models.Model):

foobar = models.IntegerField() 'foobar' has two underscores!

Should be:

class Example(models.Model):

foobar = models.IntegerField() # 'foobar' has two underscores!

Change History (2)

comment:1 by Collin Grady <cgrady@…>, 17 years ago

Version: 0.95

Code-escaped lines:

    foo__bar = models.IntegerField() 'foo__bar' has two underscores!

should be:

    foo__bar = models.IntegerField() # 'foo__bar' has two underscores!

comment:2 by Russell Keith-Magee, 17 years ago

Resolution: fixed
Status: newclosed

(In [4276]) Fixed #3223 -- Fixed typo in model API docs. Thanks, David van Mosselbeen.

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