Browse Source

Cleanup unused imports

Jocelyn Delalande 6 years ago
parent
commit
efdc5f0cdd
2 changed files with 2 additions and 5 deletions
  1. 2 4
      coin/members/admin.py
  2. 0 1
      coin/members/models.py

+ 2 - 4
coin/members/admin.py

@@ -1,18 +1,16 @@
 # -*- coding: utf-8 -*-
 # -*- coding: utf-8 -*-
 from __future__ import unicode_literals
 from __future__ import unicode_literals
 
 
-from django.shortcuts import render, get_object_or_404
+from django.shortcuts import get_object_or_404
 from django.contrib import admin
 from django.contrib import admin
 from django.contrib import messages
 from django.contrib import messages
+from django.contrib.admin import SimpleListFilter
 from django.contrib.auth.admin import UserAdmin
 from django.contrib.auth.admin import UserAdmin
-from django.contrib.auth.models import Group, Permission
 from django.contrib.contenttypes.models import ContentType
 from django.contrib.contenttypes.models import ContentType
 from django.http import HttpResponseRedirect
 from django.http import HttpResponseRedirect
 from django.conf.urls import url
 from django.conf.urls import url
 from django.conf import settings
 from django.conf import settings
-from django.db.models.query import QuerySet
 from django.core.urlresolvers import reverse
 from django.core.urlresolvers import reverse
-from django.utils.html import format_html
 
 
 from coin.members.models import (
 from coin.members.models import (
     Member, CryptoKey, LdapUser, MembershipFee, Offer, OfferSubscription, RowLevelPermission)
     Member, CryptoKey, LdapUser, MembershipFee, Offer, OfferSubscription, RowLevelPermission)

+ 0 - 1
coin/members/models.py

@@ -10,7 +10,6 @@ from django.db.models import Q, Max
 from django.db.models.signals import pre_save
 from django.db.models.signals import pre_save
 from django.dispatch import receiver
 from django.dispatch import receiver
 from django.contrib.auth.models import AbstractUser, Permission, UserManager
 from django.contrib.auth.models import AbstractUser, Permission, UserManager
-from django.contrib.contenttypes.models import ContentType
 from django.conf import settings
 from django.conf import settings
 from django.core.validators import RegexValidator
 from django.core.validators import RegexValidator
 from django.core.exceptions import ValidationError
 from django.core.exceptions import ValidationError