We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40d38ee commit 9abbb6fCopy full SHA for 9abbb6f
1 file changed
codespeed/models.py
@@ -9,7 +9,11 @@
9
from django.urls import reverse
10
from django.conf import settings
11
from django.db import models
12
-from django.utils.encoding import python_2_unicode_compatible
+try:
13
+ from django.utils.encoding import python_2_unicode_compatible
14
+except ImportError:
15
+ def python_2_unicode_compatible(arg):
16
+ return arg
17
18
from .commits.github import GITHUB_URL_RE
19
0 commit comments