Skip to content
Snippets Groups Projects
Commit acd8a568 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[backend] Fix environment view

parent b9f90b26
No related branches found
No related tags found
1 merge request!194Scheduler
......@@ -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(ShareableManager):
def get_by_natural_key(self, key):
name, version = key.rsplit(' ', 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment