Caching templates to allow for dynamic template generation

Co-authored-by: rbeard0330 <@dul2k3BKW6m>
This commit is contained in:
Emil Stenström 2021-02-15 21:07:14 +01:00 committed by GitHub
parent 3919943cbd
commit 07986c5216
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 36 additions and 17 deletions

View file

@ -1,3 +1,4 @@
from django import setup
from django.test import SimpleTestCase
@ -5,3 +6,5 @@ class Django111CompatibleSimpleTestCase(SimpleTestCase):
def assertHTMLEqual(self, left, right):
left = left.replace(' type="text/javascript"', '')
super(Django111CompatibleSimpleTestCase, self).assertHTMLEqual(left, right)
setup()