Verified Commit 3cb0d9cb authored by David Haynes's avatar David Haynes 🙆

Prefer .explicit over implicit.import

- yolo commit here, let's see if it passes the tests

Closes #111
parent 837efffe
Pipeline #1299 failed with stage
in 1 minute and 41 seconds
......@@ -12,7 +12,7 @@ from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.models import User
# App Imports
from go.models import URL, RegisteredUser
from .models import URL, RegisteredUser
class URLAdmin(admin.ModelAdmin):
"""
......
......@@ -19,7 +19,7 @@ from django.utils import timezone
from django.utils.safestring import mark_safe
# App Imports
from go.models import URL, RegisteredUser
from .models import URL, RegisteredUser
# Other Imports
from bootstrap3_datetime.widgets import DateTimePicker
......
......@@ -11,7 +11,7 @@ from django.core.management.base import BaseCommand
from django.utils import timezone
# App Imports
from go.models import URL
from .models import URL
class Command(BaseCommand):
"""
......
......@@ -16,7 +16,7 @@ from django.test import TestCase
from django.utils import timezone
# App Imports
from go.models import URL, RegisteredUser
from .models import URL, RegisteredUser
class ExpireLinksTest(TestCase):
"""
......
......@@ -10,7 +10,7 @@ from __future__ import (absolute_import, division, print_function,
from django import template
# App Imports
from go.models import RegisteredUser
from .models import RegisteredUser
# To be a valid tag library, the module must contain a module-level variable
# named register that is a template.Library instance, in which all the tags and
......
......@@ -11,7 +11,7 @@ from django.contrib.auth.models import User
from django.test import TestCase
# App Imports
from go.models import RegisteredUser
from .models import RegisteredUser
from .go_extras import is_approved, is_registered
class GoExtrasTest(TestCase):
......
......@@ -6,7 +6,7 @@ from __future__ import (absolute_import, division, print_function,
from django.test import TestCase
# App Imports
from go.cas_callbacks import pfparse, pfinfo
from .cas_callbacks import pfparse, pfinfo
class CasCallbacksTest(TestCase):
"""
......
......@@ -17,8 +17,8 @@ from django.contrib.auth.models import User
from django.test import TestCase
# App Imports
from go.forms import SignupForm, URLForm, EditForm
from go.models import URL, RegisteredUser
from .forms import SignupForm, URLForm, EditForm
from .models import URL, RegisteredUser
class URLFormTest(TestCase):
"""
......
......@@ -13,7 +13,7 @@ from django.test import TestCase
from django.utils import timezone
# App Imports
from go.models import URL, RegisteredUser
from .models import URL, RegisteredUser
class RegisteredUserTest(TestCase):
"""
......
......@@ -14,7 +14,7 @@ from django.contrib.auth.models import User
from django.test import TestCase, Client
# App Imports
from go.models import URL, RegisteredUser
from .models import URL, RegisteredUser
class IndexTest(TestCase):
"""
......
......@@ -24,8 +24,8 @@ from django.utils import timezone
from ratelimit.decorators import ratelimit
# App Imports
from go.forms import SignupForm, URLForm, EditForm
from go.models import URL, RegisteredUser
from .forms import SignupForm, URLForm, EditForm
from .models import URL, RegisteredUser
def index(request):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment