Add public shareable link for galleries
This commit is contained in:
parent
b76a350c28
commit
a875c2707b
7 changed files with 126 additions and 14 deletions
|
|
@ -0,0 +1,22 @@
|
|||
# Generated by Django 5.2.13 on 2026-04-20 19:54
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('photologue', '0003_remove_gallery_is_public'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='photo',
|
||||
options={'get_latest_by': 'date_added', 'ordering': ['title'], 'verbose_name': 'photo', 'verbose_name_plural': 'photos'},
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='gallery',
|
||||
name='public_token',
|
||||
field=models.UUIDField(blank=True, default=None, null=True, unique=True, verbose_name='public token'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue