Commit d6c09c5b authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Change attribute name

parent dd386be8
......@@ -37,8 +37,8 @@ class RabbitMQInstance(models.Model):
max_length=150,
default='guest',
)
enabled = models.BooleanField(
default=False,
is_active = models.BooleanField(
default=True,
)
def __str__(self):
......@@ -232,7 +232,7 @@ class RabbitMQInstance(models.Model):
def rabbitmq_instance():
return RabbitMQInstance.objects.get(enabled=True)
return RabbitMQInstance.objects.get(is_active=True)
class User(AbstractUser):
......
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