Skip to content

Commit

Permalink
Update help text in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
FinemechanicPub committed Oct 10, 2024
1 parent a9c00d5 commit 9360b78
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions apps/library/migrations/0045_alter_play_url_download.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Generated by Django 3.2.25 on 2024-10-10 14:05

import apps.content_pages.utilities
import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('library', '0044_Move_unpublished_plays'),
]

operations = [
migrations.AlterField(
model_name='play',
name='url_download',
field=models.FileField(blank=True, help_text="Файл пьесы должен быть в одном из следующих форматов: ('doc', 'docx', 'txt', 'odt', 'pdf'). Если пьеса не опубликована, файл скачать нельзя.", max_length=200, null=True, upload_to=apps.content_pages.utilities.path_by_media_and_class_name, validators=[django.core.validators.FileExtensionValidator(('doc', 'docx', 'txt', 'odt', 'pdf'))], verbose_name='Текст пьесы'),
),
]

0 comments on commit 9360b78

Please sign in to comment.