[tasks] Add tasks app

This commit is contained in:
2024-09-30 14:55:02 -04:00
parent bbe8149e6c
commit 183469ebe5
18 changed files with 374 additions and 2 deletions

View File

@ -0,0 +1,49 @@
# Generated by Django 4.2.16 on 2024-09-30 18:54
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("tasks", "0001_initial"),
("scrobbles", "0063_scrobble_gpx_file"),
]
operations = [
migrations.AddField(
model_name="scrobble",
name="task",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.DO_NOTHING,
to="tasks.task",
),
),
migrations.AlterField(
model_name="scrobble",
name="media_type",
field=models.CharField(
choices=[
("Video", "Video"),
("Track", "Track"),
("PodcastEpisode", "Podcast episode"),
("SportEvent", "Sport event"),
("Book", "Book"),
("VideoGame", "Video game"),
("BoardGame", "Board game"),
("GeoLocation", "GeoLocation"),
("Trail", "Trail"),
("Task", "Task"),
("WebPage", "Web Page"),
("LifeEvent", "Life event"),
("Mood", "Mood"),
("BrickSet", "Brick set"),
],
default="Video",
max_length=14,
),
),
]