Opened 10 years ago

Closed 10 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: UI/UX:

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 Changed 10 years ago by Collin Grady <cgrady@…>

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 Changed 10 years ago by Russell Keith-Magee

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