Remove unused imports
authorMagnus Hagander <magnus@hagander.net>
Mon, 13 Jul 2020 12:53:07 +0000 (14:53 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 13 Jul 2020 12:53:07 +0000 (14:53 +0200)
pgweb/account/migrations/0002_lowercase_email.py
pgweb/core/views.py
pgweb/docs/migrations/0002_drop_doccomments.py
pgweb/downloads/migrations/0002_remove_mirrors.py
pgweb/lists/migrations/0003_remove_list_externallink.py
tools/communityauth/sample/django/auth.py

index e4d46ab1a582c56821ea5f537ebe3eedd741ad55..5c9fc096cf4c504a59bf2a6a0e3b04aab4efde2e 100644 (file)
@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 from __future__ import unicode_literals
 
-from django.db import migrations, models
+from django.db import migrations
 
 
 class Migration(migrations.Migration):
index a7b4483f1918c66462bbf60c0d35b950a4f60f9a..a835cadb472e680a6302abeacc9b256b8ddb1059 100644 (file)
@@ -7,7 +7,6 @@ from django.contrib.auth.decorators import user_passes_test
 from pgweb.util.decorators import login_required
 from django.contrib import messages
 from django.views.decorators.csrf import csrf_exempt
-from django.db.models import Count
 from django.db import connection, transaction
 from django.utils.http import http_date, parse_http_date
 from django.conf import settings
index af6ed94adfa71632208779d5e293795bb4e7960f..b06b5720204811a9f8fb70cbced0a4316009ff41 100644 (file)
@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 from __future__ import unicode_literals
 
-from django.db import migrations, models
+from django.db import migrations
 
 
 class Migration(migrations.Migration):
index 2d9f05b3e16c18d8bf72c08a0eb2c6eab97a10e0..6378bc36701b38ea4011b5e6aa894e676cd5c696 100644 (file)
@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 from __future__ import unicode_literals
 
-from django.db import migrations, models
+from django.db import migrations
 
 
 class Migration(migrations.Migration):
index 8364e455df713d7bd9362461e209b9107cd7b10e..c113ac7b7623bb1075461b37868aea6a7346f456 100644 (file)
@@ -1,7 +1,7 @@
 # -*- coding: utf-8 -*-
 from __future__ import unicode_literals
 
-from django.db import migrations, models
+from django.db import migrations
 
 
 class Migration(migrations.Migration):
index 87ffb0b2adbcd45d956b7f625dc9ae29c7807bfa..55eb9b641887fcf06a296ebe1e14eac4f89445ed 100644 (file)
@@ -28,7 +28,7 @@ from django.conf import settings
 import base64
 import json
 import socket
-from urllib.parse import urlparse, urlencode, parse_qs
+from urllib.parse import urlencode, parse_qs
 import requests
 from Cryptodome.Cipher import AES
 from Cryptodome.Hash import SHA