From 23346701cd1643c7cbd1155940b3387ee82ca761 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Mon, 7 Oct 2024 17:49:29 +0200 Subject: [PATCH] Code style --- .../migrations/0001_initial.py | 2 +- .../pretalx_media_ccc_de/settings.html | 29 ++++++++----------- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/pretalx_media_ccc_de/migrations/0001_initial.py b/pretalx_media_ccc_de/migrations/0001_initial.py index ac4bd29..bbeabf9 100644 --- a/pretalx_media_ccc_de/migrations/0001_initial.py +++ b/pretalx_media_ccc_de/migrations/0001_initial.py @@ -1,7 +1,7 @@ # Generated by Django 4.2.4 on 2023-09-26 14:58 -from django.db import migrations, models import django.db.models.deletion +from django.db import migrations, models class Migration(migrations.Migration): diff --git a/pretalx_media_ccc_de/templates/pretalx_media_ccc_de/settings.html b/pretalx_media_ccc_de/templates/pretalx_media_ccc_de/settings.html index 9c39d68..3607f6d 100644 --- a/pretalx_media_ccc_de/templates/pretalx_media_ccc_de/settings.html +++ b/pretalx_media_ccc_de/templates/pretalx_media_ccc_de/settings.html @@ -1,9 +1,7 @@ {% extends "orga/base.html" %} {% load bootstrap4 %} {% load i18n %} - {% block content %} -

{% trans "Set up media.ccc.de sync" %}

{% csrf_token %} @@ -11,35 +9,32 @@

{% trans "Set up media.ccc.de sync" %}

- -
- {% if url_form %}

{% trans "Change URLs" %}

-
{% csrf_token %} {% bootstrap_form url_form layout='event' %} - - +
{% endif %} - {% endblock %}