Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
go
Commits
cfdf804d
Verified
Commit
cfdf804d
authored
Apr 24, 2017
by
David Haynes
🙆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
go/go/management/commands/expirelinks.py
go/go/management/commands/expirelinks.py
+1
-1
go/go/management/commands/test_expirelinks.py
go/go/management/commands/test_expirelinks.py
+1
-1
go/go/templatetags/go_extras.py
go/go/templatetags/go_extras.py
+1
-1
go/go/templatetags/test_go_extras.py
go/go/templatetags/test_go_extras.py
+1
-1
No files found.
go/go/management/commands/expirelinks.py
View file @
cfdf804d
...
@@ -11,7 +11,7 @@ from django.core.management.base import BaseCommand
...
@@ -11,7 +11,7 @@ from django.core.management.base import BaseCommand
from
django.utils
import
timezone
from
django.utils
import
timezone
# App Imports
# App Imports
from
.models
import
URL
from
go
.models
import
URL
class
Command
(
BaseCommand
):
class
Command
(
BaseCommand
):
"""
"""
...
...
go/go/management/commands/test_expirelinks.py
View file @
cfdf804d
...
@@ -16,7 +16,7 @@ from django.test import TestCase
...
@@ -16,7 +16,7 @@ from django.test import TestCase
from
django.utils
import
timezone
from
django.utils
import
timezone
# App Imports
# App Imports
from
.models
import
URL
,
RegisteredUser
from
go
.models
import
URL
,
RegisteredUser
class
ExpireLinksTest
(
TestCase
):
class
ExpireLinksTest
(
TestCase
):
"""
"""
...
...
go/go/templatetags/go_extras.py
View file @
cfdf804d
...
@@ -10,7 +10,7 @@ from __future__ import (absolute_import, division, print_function,
...
@@ -10,7 +10,7 @@ from __future__ import (absolute_import, division, print_function,
from
django
import
template
from
django
import
template
# App Imports
# 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
# 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
# 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
...
@@ -11,7 +11,7 @@ from django.contrib.auth.models import User
from
django.test
import
TestCase
from
django.test
import
TestCase
# App Imports
# App Imports
from
.models
import
RegisteredUser
from
go
.models
import
RegisteredUser
from
.go_extras
import
is_approved
,
is_registered
from
.go_extras
import
is_approved
,
is_registered
class
GoExtrasTest
(
TestCase
):
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