INCR-407 python3 compatibility

This commit is contained in:
Ayub khan
2019-07-11 15:14:30 +05:00
parent 3e9f503de5
commit 07275a5715
2 changed files with 4 additions and 1 deletions

View File

@@ -3,6 +3,8 @@ Management command `manage_user` is used to idempotently create or remove
Django users, set/unset permission bits, and associate groups by name.
"""
from __future__ import absolute_import
from django.contrib.auth import get_user_model
from django.contrib.auth.hashers import is_password_usable
from django.contrib.auth.models import Group

View File

@@ -1,4 +1,5 @@
from __future__ import print_function
from __future__ import absolute_import, print_function
import re
from django.contrib.auth.models import User