Skip to content

Commit dd3e2ec

Browse files
committed
Fix code block in docs for Using custom OneToOneFields
1 parent 3070deb commit dd3e2ec

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Authors
1818
- Amartis Gladius (`Amartis <https://github.com/amartis>`_)
1919
- Ben Lawson (`blawson <https://github.com/blawson>`_)
2020
- Benjamin Mampaey (`bmampaey <https://github.com/bmampaey>`_)
21+
- Bheesham Persaud (`bheesham <https://github.com/bheesham>`_)
2122
- `bradford281 <https://github.com/bradford281>`_
2223
- Brian Armstrong (`barm <https://github.com/barm>`_)
2324
- Buddy Lindsey, Jr.

docs/common_issues.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,6 @@ Using custom OneToOneFields
262262
If you are using a custom OneToOneField that has additional arguments and receiving
263263
the the following ``TypeError``::
264264

265-
.. code=block:: python
266-
267265
TypeError: __init__() got an unexpected keyword argument
268266

269267
This is because Django Simple History coerces ``OneToOneField`` into ``ForeignKey``

0 commit comments

Comments
 (0)