Skip to content
Snippets Groups Projects
Verified Commit 736c8dcc authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Reformat and fix lint

parent 374e2d83
No related branches found
No related tags found
1 merge request!28Do release 2.0
......@@ -39,7 +39,10 @@ MENUS = {
"icon": "open_in_browser",
"root": True,
"validators": [
("aleksis.core.util.predicates.permission_validator", "resint.view_poster_menu",),
(
"aleksis.core.util.predicates.permission_validator",
"resint.view_poster_menu",
),
],
"submenu": [
{
......
# Generated by Django 3.2.9 on 2021-12-29 23:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('resint', '0006_livedocument'),
]
operations = [
migrations.AlterField(
model_name='livedocument',
name='current_file',
field=models.FileField(blank=True, default='', editable=False, upload_to='live_documents/', verbose_name='Current file'),
preserve_default=False,
),
]
......@@ -159,7 +159,6 @@ class LiveDocument(ExtensiblePolymorphicModel):
current_file = models.FileField(
upload_to="live_documents/",
null=True,
blank=True,
verbose_name=_("Current file"),
editable=False,
......
......@@ -34,14 +34,20 @@ urlpatterns = [
LiveDocumentCreateView.as_view(),
name="create_live_document",
),
path("live/<int:pk>/edit/", LiveDocumentEditView.as_view(), name="edit_live_document",),
path(
"live/<int:pk>/edit/",
LiveDocumentEditView.as_view(),
name="edit_live_document",
),
path(
"live_documents/<int:pk>/delete/",
LiveDocumentDeleteView.as_view(),
name="delete_live_document",
),
path(
"live_documents/<str:slug>.pdf", LiveDocumentShowView.as_view(), name="show_live_document",
"live_documents/<str:slug>.pdf",
LiveDocumentShowView.as_view(),
name="show_live_document",
),
path(
"api/live_documents/<str:slug>.pdf",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment