Move from HTML templates to pure Python

Remove cruft
This commit is contained in:
2026-06-06 07:11:46 +02:00
parent 09db54e940
commit d101aecd70
109 changed files with 2903 additions and 2949 deletions
+4 -4
View File
@@ -26,9 +26,9 @@ class MiddlewareIntegrationTest(TestCase):
self.client = Client()
self.user = self._create_user()
self.client.force_login(self.user)
pl = Platform(name="Test Platform")
pl.save()
self.game = Game(name="Test Game", platform=pl)
self.platform = Platform(name="Test Platform")
self.platform.save()
self.game = Game(name="Test Game", platform=self.platform)
self.game.save()
def test_non_htmx_request_with_message_gets_hx_trigger(self):
@@ -82,7 +82,7 @@ class MiddlewareIntegrationTest(TestCase):
"""
purchase = Purchase.objects.create(
date_purchased=datetime(2023, 1, 1),
platform=Platform.objects.first() or pl,
platform=self.platform,
)
purchase.games.set([self.game])
response = self.client.post(