Commit 571b3d85 authored by Robert's avatar Robert

Small fixes

parent c568c02f
Pipeline #1848 failed with stage
in 2 minutes and 32 seconds
......@@ -113,7 +113,7 @@ class Gestalt(grouprise.core.models.Model):
data['memberships'] = self.memberships
data['subscriptions'] = self.subscriptions
data['tokens'] = self.permissiontoken_set
data['settings'] = self.gestaltsetting_set
data['settings'] = self.settings
data['associations'] = self.associations
data['contributions'] = self.contributions
......@@ -141,7 +141,7 @@ class GestaltSetting(models.Model):
unique_together = ('gestalt', 'category', 'name')
gestalt = models.ForeignKey('gestalten.Gestalt', on_delete=models.CASCADE,
related_name='settings')
related_name='settings')
category = models.CharField(max_length=255, blank=True)
name = models.CharField(max_length=255)
value = models.TextField()
......@@ -4,8 +4,6 @@ from django import template
from django.db import models
from django.template import Library, loader
from ..models import GestaltSetting
register = Library()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment