Skip to content

Commit f2ce704

Browse files
committed
Fixes relative img paths in docs
1 parent 1ac3e9e commit f2ce704

6 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/serializers/attribute_access.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Just like with standard REST Framework serializers, if you attempt to access val
3232

3333
Now that we're accessing class instance attributes, rather than dictionary keys in `.validated_data`, the IDE can remind us of the types:
3434

35-
![IDE](/images/ide-integration-3.png)
35+
![IDE](../images/ide-integration-3.png)
3636

3737
It can also help us catch more errors:
3838

39-
![IDE](/images/ide-integration-4.png)
39+
![IDE](../images/ide-integration-4.png)

docs/serializers/ide_integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Classes are used to represent serializer fields, which can confuse IDEs into ass
44

55
The project includes a set of type stubs copied from [typeddjango/django-stubs](https://github.com/typeddjango/django-stubs) (credit due to them for excellent work) and altered to indicate deserialized field types and address the problem stated above.
66

7-
![IDE_1](/images/ide-integration-1.png)
7+
![IDE_1](../images/ide-integration-1.png)
88

99
This allows your IDE to know that `start_date` is of type `datetime.date`, even though a type annotation was not used.
1010

11-
![IDE_2](/images/ide-integration-2.png)
11+
![IDE_2](../images/ide-integration-2.png)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)