Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#19971 closed Uncategorized (fixed)

Spelling mistake of explicitly (explictly)

Reported by: tobias.carlander@… Owned by: tcarlander
Component: Documentation Version: 1.5
Severity: Normal Keywords: explicitly, explictly
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


On page /en/1.5/topics/class-based-views/generic-display/#adding-extra-context
In the Note:

"Generally, get_context_data will merge the context data of all parent classes with those of the current class. To preserve this behavior in your own classes where you want to alter the context, you should be sure to call get_context_data on the super class. When no two classes try to define the same key, this will give the expected results. However if any class attempts to override a key after parent classes have set it (after the call to super), any children of that class will also need to explictly set it after super if they want to be sure to override all parents. If you’re having trouble, review the method resolution order of your view."

I have bolded the error, it should read explicitly

Change History (5)

comment:1 Changed 3 years ago by tobias.carlander@…

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to anonymous
  • Patch needs improvement unset
  • Status changed from new to assigned

I have created Pull Request 877 for this,
My first try to help, hope I got it right.

comment:2 Changed 3 years ago by tcarlander

  • Owner changed from anonymous to tcarlander

comment:3 Changed 3 years ago by tcarlander

  • Has patch set

comment:4 Changed 3 years ago by Tobias Carlander <tobias.carlander@…>

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

In df7668a9e47100bc2ac58a3b0fec4665d4aadb48:

Fix Typo explicitly. Fixes #19971

comment:5 Changed 3 years ago by Aymeric Augustin <aymeric.augustin@…>

In 2047865964e534646f7fe15165785bfbca892b9d:

Merge pull request #877 from tcarlander/master

Fixed #19971 -- Typo in CBV docs.

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