Files
tecvico-website/apps/projects/migrations/0002_website_showcase_fields.py
2026-07-19 14:31:28 +03:30

69 lines
2.8 KiB
Python

# Generated by Django 5.2.15 on 2026-07-14 04:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('projects', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='projectbrief',
name='public_image',
field=models.ImageField(blank=True, help_text='Image for the website project card.', null=True, upload_to='projects/showcase/'),
),
migrations.AddField(
model_name='projectbrief',
name='public_project_status',
field=models.CharField(blank=True, choices=[('', ''), ('new', 'New'), ('ongoing', 'Ongoing'), ('done', 'Done')], help_text='Filter category for the website showcase.', max_length=10),
),
migrations.AddField(
model_name='projectbrief',
name='public_summary',
field=models.TextField(blank=True, help_text='Short summary for the website project card.'),
),
migrations.AddField(
model_name='projectbrief',
name='public_tags',
field=models.CharField(blank=True, help_text='Comma-separated tags for the website card.', max_length=300),
),
migrations.AddField(
model_name='projectbrief',
name='public_title',
field=models.CharField(blank=True, help_text='Optional showcase title. Defaults to the brief title.', max_length=300),
),
migrations.AddField(
model_name='projectbrief',
name='public_url',
field=models.CharField(blank=True, help_text='Optional link for the website project card.', max_length=300),
),
migrations.AddField(
model_name='projectbrief',
name='show_category_on_website',
field=models.BooleanField(default=True, help_text='Show category as a tag on the website card.'),
),
migrations.AddField(
model_name='projectbrief',
name='show_description_on_website',
field=models.BooleanField(default=True, help_text='Include the brief description on the website card when no summary is set.'),
),
migrations.AddField(
model_name='projectbrief',
name='show_goals_on_website',
field=models.BooleanField(default=False, help_text='Include goals on the website card.'),
),
migrations.AddField(
model_name='projectbrief',
name='show_on_website',
field=models.BooleanField(default=False, help_text='Display this project in the public website showcase.'),
),
migrations.AddField(
model_name='projectbrief',
name='website_notes',
field=models.TextField(blank=True, help_text='Notes from Tecvico shown to the client in the portal.'),
),
]