stable/5.1.x
Andreas Nüßlein 2023-09-21 16:19:16 +01:00 zatwierdzone przez Sage Abdullah
rodzic 21af424f34
commit 5041925812
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: EB1A33CC51CC0217
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -82,7 +82,7 @@ def get_images_uploaded_by_user(user):
The above can be modified slightly to prefetch the renditions of the images returned:
```python
def get_images_uploaded_by_user(user)::
def get_images_uploaded_by_user(user):
return ImageModel.objects.filter(uploaded_by_user=user).prefetch_renditions()
```