<filename>wouso/core/magic/utils.py
from wouso.core.magic.models import ArtifactGroup


def setup_magic():
    # Default artifact group
    default_group = ArtifactGroup.objects.get_or_create(name='Default')[0]

<filename>wouso/core/magic/utils.py
from wouso.core.magic.models import ArtifactGroup


def setup_magic():
    # Default artifact group
    default_group = ArtifactGroup.objects.get_or_create(name='Default')[0]

# Default artifact group