mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-22 14:29:36 +02:00
Add link field to collection and fix the visited counter in collection page
This commit is contained in:
parent
7d9bc16588
commit
1e61032692
8 changed files with 68 additions and 14 deletions
18
backend/server/adventures/migrations/0010_collection_link.py
Normal file
18
backend/server/adventures/migrations/0010_collection_link.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 5.0.8 on 2024-10-08 03:05
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('adventures', '0009_alter_adventure_type'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='collection',
|
||||
name='link',
|
||||
field=models.URLField(blank=True, max_length=2083, null=True),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue