-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1713] Added Videoplayer to Product model and template
- Loading branch information
Bart van der Schoor
committed
Sep 19, 2023
1 parent
bb33f64
commit 2c26a90
Showing
4 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Generated by Django 3.2.20 on 2023-09-19 12:38 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("media", "0001_initial"), | ||
("pdc", "0058_product_button_text"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="product", | ||
name="video", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="Video to show after the intro", | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="products", | ||
to="media.video", | ||
verbose_name="Video", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters