Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
WIP docs
Pacu2a67941dc0c15
diff --git a/docs/architecture/thumbnails.rst b/docs/architecture/thumbnails.rstnew file mode 100644index 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.pyindex 33ab1c3d69..158bf401e9 100644--- a/tests/dashboard/test_menu.py+++ b/tests/dashboard/test_menu.py@@ -4,7 +4,7 @@ import pytestfrom django.urls import reversefrom saleor.menu.models import Menu, MenuItem-from .utils import get_redirect_location+from ..utils import get_redirect_location@pytest.mark.django_db