Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
0f5f9af4
Commit
0f5f9af4
authored
Apr 25, 2017
by
David Haynes
🙆
Browse files
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
Changes
7
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
go/go/admin.py
View file @
0f5f9af4
...
...
@@ -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
):
"""
...
...
go/go/forms.py
View file @
0f5f9af4
...
...
@@ -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
...
...
go/go/test_cas_callbacks.py
View file @
0f5f9af4
...
...
@@ -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
):
"""
...
...
go/go/test_forms.py
View file @
0f5f9af4
...
...
@@ -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
):
"""
...
...
go/go/test_models.py
View file @
0f5f9af4
...
...
@@ -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
):
"""
...
...
go/go/test_views.py
View file @
0f5f9af4
...
...
@@ -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
):
"""
...
...
go/go/views.py
View file @
0f5f9af4
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment