Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
beat.web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
54
Issues
54
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
beat
beat.web
Commits
acd8a568
Commit
acd8a568
authored
Apr 23, 2016
by
André Anjos
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[backend] Fix environment view
parent
b9f90b26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
beat/web/backend/models.py
beat/web/backend/models.py
+2
-2
No files found.
beat/web/backend/models.py
View file @
acd8a568
...
...
@@ -45,14 +45,14 @@ from guardian.shortcuts import get_perms
import
beat.core.stats
import
beat.core.data
from
..common.models
import
Shareable
from
..common.models
import
Shareable
,
ShareableManager
from
..common.texts
import
Messages
#----------------------------------------------------------
class
EnvironmentManager
(
models
.
Manager
):
class
EnvironmentManager
(
Shareable
Manager
):
def
get_by_natural_key
(
self
,
key
):
name
,
version
=
key
.
rsplit
(
' '
,
1
)
...
...
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