Skip to content

Saleor Core: the high performance, composable, headless commerce API.

WIP docs

Pacu2a67941dc0c15
diff --git a/docs/architecture/thumbnails.rst b/docs/architecture/thumbnails.rst
new file mode 100644
index 0000000000..12f7f95c06
--- /dev/null
+++ b/docs/architecture/thumbnails.rst
@@ -0,0 +1,22 @@
+Thumbnails
+==========
+
+Saleor uses `VersatileImageField <https://github.com/respondcreate/django-versatileimagefield>`_ replacement for Django's ImageField.
+
+
+
+Generating Products Thumbnails Manually
+-----------------------------------------
+
+Create missing thumbnails for all ProductImage instances.
+
+.. code-block:: console
+
+ $ python manage.py create_thumbnails
+
+
+Deleting Image Renditions
+--------------------------
+
+Image renditions are not deleted automatically with the main image, however Saleor handles that on ``post_delete`` model's signal.
+More on deleting rendition images can be found in `VersatileImageField documentation <https://django-versatileimagefield.readthedocs.io/en/latest/deleting_created_images.html>`_
diff --git a/tests/dashboard/test_menu.py b/tests/dashboard/test_menu.py
index 33ab1c3d69..158bf401e9 100644
--- a/tests/dashboard/test_menu.py
+++ b/tests/dashboard/test_menu.py
@@ -4,7 +4,7 @@ import pytest
from django.urls import reverse
from saleor.menu.models import Menu, MenuItem
-from .utils import get_redirect_location
+from ..utils import get_redirect_location
@pytest.mark.django_db