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 ...@@ -12,7 +12,7 @@ from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.models import User from django.contrib.auth.models import User
# App Imports # App Imports
from go.models import URL, RegisteredUser from .models import URL, RegisteredUser
class URLAdmin(admin.ModelAdmin): class URLAdmin(admin.ModelAdmin):
""" """
......
...@@ -19,7 +19,7 @@ from django.utils import timezone ...@@ -19,7 +19,7 @@ from django.utils import timezone
from django.utils.safestring import mark_safe from django.utils.safestring import mark_safe
# App Imports # App Imports
from go.models import URL, RegisteredUser from .models import URL, RegisteredUser
# Other Imports # Other Imports
from bootstrap3_datetime.widgets import DateTimePicker from bootstrap3_datetime.widgets import DateTimePicker
......
...@@ -6,7 +6,7 @@ from __future__ import (absolute_import, division, print_function, ...@@ -6,7 +6,7 @@ from __future__ import (absolute_import, division, print_function,
from django.test import TestCase from django.test import TestCase
# App Imports # App Imports
from go.cas_callbacks import pfparse, pfinfo from .cas_callbacks import pfparse, pfinfo
class CasCallbacksTest(TestCase): class CasCallbacksTest(TestCase):
""" """
......
...@@ -17,8 +17,8 @@ from django.contrib.auth.models import User ...@@ -17,8 +17,8 @@ from django.contrib.auth.models import User
from django.test import TestCase from django.test import TestCase
# App Imports # App Imports
from go.forms import SignupForm, URLForm, EditForm from .forms import SignupForm, URLForm, EditForm
from go.models import URL, RegisteredUser from .models import URL, RegisteredUser
class URLFormTest(TestCase): class URLFormTest(TestCase):
""" """
......
...@@ -13,7 +13,7 @@ from django.test import TestCase ...@@ -13,7 +13,7 @@ from django.test import TestCase
from django.utils import timezone from django.utils import timezone
# App Imports # App Imports
from go.models import URL, RegisteredUser from .models import URL, RegisteredUser
class RegisteredUserTest(TestCase): class RegisteredUserTest(TestCase):
""" """
......
...@@ -14,7 +14,7 @@ from django.contrib.auth.models import User ...@@ -14,7 +14,7 @@ from django.contrib.auth.models import User
from django.test import TestCase, Client from django.test import TestCase, Client
# App Imports # App Imports
from go.models import URL, RegisteredUser from .models import URL, RegisteredUser
class IndexTest(TestCase): class IndexTest(TestCase):
""" """
......
...@@ -24,8 +24,8 @@ from django.utils import timezone ...@@ -24,8 +24,8 @@ from django.utils import timezone
from ratelimit.decorators import ratelimit from ratelimit.decorators import ratelimit
# App Imports # App Imports
from go.forms import SignupForm, URLForm, EditForm from .forms import SignupForm, URLForm, EditForm
from go.models import URL, RegisteredUser from .models import URL, RegisteredUser
def index(request): 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