mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
Ruff format
This commit is contained in:
parent
756ff419ac
commit
8193866157
1 changed files with 2 additions and 0 deletions
|
|
@ -46,10 +46,12 @@ class override_config(override_settings):
|
|||
original_post_teardown = test_case._post_teardown
|
||||
|
||||
if DJANGO_VERSION < (5, 2):
|
||||
|
||||
def _pre_setup(inner_self):
|
||||
self.enable()
|
||||
original_pre_setup(inner_self)
|
||||
else:
|
||||
|
||||
@classmethod
|
||||
def _pre_setup(cls):
|
||||
# NOTE: Django 5.2 turned this as a classmethod
|
||||
|
|
|
|||
Loading…
Reference in a new issue