Commit acd8a568 authored by André Anjos's avatar André Anjos 💬

[backend] Fix environment view

parent b9f90b26
......@@ -45,14 +45,14 @@ from guardian.shortcuts import get_perms
import beat.core.stats
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)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment