Commit 0f5f9af4 authored by David Haynes's avatar David Haynes 🙆

Merge branch '111-explicit-relative' into '2.2-dev'

Resolve "Use Explicit Relative Imports"

See merge request !94
parents 837efffe cfdf804d
Pipeline #1304 passed with stage
in 1 minute and 37 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
......
......@@ -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