Remove promo, add featured on main page
All checks were successful
Build and Push Docker Image / build (push) Successful in 54s

This commit is contained in:
2026-06-15 18:56:11 +02:00
parent 373cc15e4d
commit e9da339a4c
7 changed files with 325 additions and 215 deletions

View File

@@ -125,6 +125,7 @@ class CartFlowTests(TestCase):
self.assertContains(response, "3200,00 руб.")
self.assertContains(response, "3745,00 руб.")
self.assertContains(response, "/media/items/cart-item.jpg")
self.assertNotContains(response, 'name="promo_code"', html=False)
def test_cart_page_redirects_guest_to_login(self):
response = self.client.get(reverse("orders:cart"))