Skip to content

Commit

Permalink
fix Django 5.0 deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Apr 12, 2024
1 parent 792650b commit d6c582b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/settings.py
@@ -1,6 +1,8 @@
# -*- coding: utf-8
from typing import Dict, Tuple

import django

DEBUG = True
USE_TZ = True

Expand Down Expand Up @@ -74,3 +76,6 @@
PLANS_TAX_COUNTRY = "CZ"
PLANS_DEFAULT_COUNTRY = "CZ"
PLANS_GET_COUNTRY_FROM_IP = True

if django.VERSION >= (4, 1):
FORM_RENDERER = "django.forms.renderers.DjangoDivFormRenderer"

0 comments on commit d6c582b

Please sign in to comment.