1
0
Fork 0
This commit is contained in:
kiara Grouwstra 2025-03-03 15:58:37 +01:00
parent 8fabd7f0f1
commit b3b525dee4
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU
2 changed files with 0 additions and 6 deletions
panel/src/panel

View file

@ -3,7 +3,6 @@ from django.contrib.auth.models import User
class MastodonConfig(models.Model):
# config = models.OneToOneField(Configuration, on_delete=models.CASCADE, related_name='mastodon')
enable = models.BooleanField(default=False)
def __str__(self):
@ -11,7 +10,6 @@ class MastodonConfig(models.Model):
class PixelfedConfig(models.Model):
# config = models.OneToOneField(Configuration, on_delete=models.CASCADE, related_name='pixelfed')
enable = models.BooleanField(default=False)
def __str__(self):
@ -19,7 +17,6 @@ class PixelfedConfig(models.Model):
class PeertubeConfig(models.Model):
# config = models.OneToOneField(Configuration, on_delete=models.CASCADE, related_name='peertube')
enable = models.BooleanField(default=False)
def __str__(self):

View file

@ -3,9 +3,6 @@
<form method="post" enctype="multipart/form-data" action="{% url 'configuration_form' %}">
{% csrf_token %}
{{ form.as_p }}
{{ mastodon_form.as_p }}
{{ pixelfed_form.as_p }}
{{ peertube_form.as_p }}
</fieldset>