From 727145ed50d60655590c0199656c2378d32bfffc Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 20 Nov 2024 15:36:06 -0800 Subject: Use @ when accessing variables in templates Access without the @ symbol is the older method and is discouraged. This take leaves alone accesses of variables that are defined within the template, which don't seem to allow an @. This is the second batch of files. --- modules/transifex/templates/50-project.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/transifex/templates/50-project.conf') diff --git a/modules/transifex/templates/50-project.conf b/modules/transifex/templates/50-project.conf index 17281d9a..013741b2 100644 --- a/modules/transifex/templates/50-project.conf +++ b/modules/transifex/templates/50-project.conf @@ -40,7 +40,7 @@ MIDDLEWARE_CLASSES = [ ROOT_URLCONF = 'urls' TEMPLATE_DIRS = [ - '<%= templates_dir %>', + '<%= @templates_dir %>', os.path.join(TX_ROOT, 'templates'), ] -- cgit v1.2.1