Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Commit ef59c4f

Browse files
author
vinit Kumar
committed
fix the checks and typos
1 parent a711cc6 commit ef59c4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dj_elastictranscoder/models.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from django.db import models
22
from django.contrib.contenttypes.models import ContentType
3-
if django.version > 1.8:
3+
import django
4+
if django.get_version() > '1.8':
45
from django.contrib.contenttypes.fields import GenericForeignKey
56
else:
67
from django.contrib.contenttypes.generic import GenericForeignKey

0 commit comments

Comments
 (0)