diff --git a/sample_project/app/tests.py b/sample_project/app/tests.py index 6f459dc..536855c 100644 --- a/sample_project/app/tests.py +++ b/sample_project/app/tests.py @@ -3,8 +3,12 @@ try: except ImportError: import http.client as httplib +from django import VERSION + +if VERSION > (1, 8): + import uuid + import json -import uuid from django import VERSION from django.contrib.auth.models import User