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
cfdf804d
Verified
Commit
cfdf804d
authored
Apr 24, 2017
by
David Haynes
🙆
Browse files
Add back some implicit imports where needed
- I took a gamble on how far we can go, now need to remedy
parent
3cb0d9cb
Pipeline
#1300
passed with stage
in 1 minute and 38 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
go/go/management/commands/expirelinks.py
View file @
cfdf804d
...
...
@@ -11,7 +11,7 @@ from django.core.management.base import BaseCommand
from
django.utils
import
timezone
# App Imports
from
.models
import
URL
from
go
.models
import
URL
class
Command
(
BaseCommand
):
"""
...
...
go/go/management/commands/test_expirelinks.py
View file @
cfdf804d
...
...
@@ -16,7 +16,7 @@ from django.test import TestCase
from
django.utils
import
timezone
# App Imports
from
.models
import
URL
,
RegisteredUser
from
go
.models
import
URL
,
RegisteredUser
class
ExpireLinksTest
(
TestCase
):
"""
...
...
go/go/templatetags/go_extras.py
View file @
cfdf804d
...
...
@@ -10,7 +10,7 @@ from __future__ import (absolute_import, division, print_function,
from
django
import
template
# App Imports
from
.models
import
RegisteredUser
from
go
.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
...
...
go/go/templatetags/test_go_extras.py
View file @
cfdf804d
...
...
@@ -11,7 +11,7 @@ from django.contrib.auth.models import User
from
django.test
import
TestCase
# App Imports
from
.models
import
RegisteredUser
from
go
.models
import
RegisteredUser
from
.go_extras
import
is_approved
,
is_registered
class
GoExtrasTest
(
TestCase
):
...
...
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