Andreas Nüßlein преди 1 година
родител
ревизия
6eda5d5d12
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      docs/advanced_topics/images/renditions.md

+ 1 - 1
docs/advanced_topics/images/renditions.md

@@ -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()
 ```