Funding: help texts for Spent objects.
[wolnelektury.git] / src / funding / migrations / 0012_spent_annotation_spent_link_alter_spent_book.py
1 # Generated by Django 4.0.8 on 2024-02-21 11:52
2
3 from django.db import migrations, models
4 import django.db.models.deletion
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10         ('catalogue', '0046_alter_book_options_alter_bookmedia_options_and_more'),
11         ('funding', '0011_alter_funding_customer_ip_alter_funding_notify_key_and_more'),
12     ]
13
14     operations = [
15         migrations.AddField(
16             model_name='spent',
17             name='annotation',
18             field=models.CharField(blank=True, help_text="np. 'audiobook'", max_length=255, verbose_name='adnotacja'),
19         ),
20         migrations.AddField(
21             model_name='spent',
22             name='link',
23             field=models.URLField(blank=True, help_text='zamiast książki, np. kolekcja'),
24         ),
25         migrations.AlterField(
26             model_name='spent',
27             name='book',
28             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='catalogue.book'),
29         ),
30     ]