Changeset View
Changeset View
Standalone View
Standalone View
films/models/films.py
| from django.db import models | from django.db import models | ||||
| from django.urls import reverse | from django.urls import reverse | ||||
| from django.utils.text import slugify | from django.utils.text import slugify | ||||
| from assets.models import StorageLocation, DynamicStorageFileField | from static_assets.models import StorageLocation, DynamicStorageFileField | ||||
| from common import mixins | from common import mixins | ||||
| from common.upload_paths import get_upload_to_hashed_path | from common.upload_paths import get_upload_to_hashed_path | ||||
| class FilmStatus(models.TextChoices): | class FilmStatus(models.TextChoices): | ||||
| in_development = '0_dev', 'In Development' | in_development = '0_dev', 'In Development' | ||||
| in_production = '1_prod', 'In Production' | in_production = '1_prod', 'In Production' | ||||
| ▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines | |||||