Opened 9 years ago

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

  • Version 0.95 deleted

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 9 years ago by russellm

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

(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