mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-16 22:10:30 +00:00
Skipped UUI import for Django less than 1.8
This commit is contained in:
parent
76378483ff
commit
bf75b85190
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue