-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #187 from weaverse-techtide/dev
10월14일11:09
- Loading branch information
Showing
22 changed files
with
653 additions
and
270 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
56 changes: 56 additions & 0 deletions
56
materials/migrations/0008_alter_image_options_alter_video_options_and_more.py
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,56 @@ | ||
# Generated by Django 5.1.1 on 2024-10-14 05:25 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('materials', '0007_alter_image_author'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='image', | ||
options={'ordering': ['-created_at']}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='video', | ||
options={'ordering': ['-created_at']}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='videoeventdata', | ||
options={'ordering': ['-timestamp']}, | ||
), | ||
migrations.AddField( | ||
model_name='image', | ||
name='is_deleted', | ||
field=models.BooleanField(default=False), | ||
), | ||
migrations.AddField( | ||
model_name='video', | ||
name='is_deleted', | ||
field=models.BooleanField(default=False), | ||
), | ||
migrations.AlterField( | ||
model_name='image', | ||
name='image_url', | ||
field=models.ImageField(blank=True, null=True, upload_to='images/', verbose_name='이미지 파일'), | ||
), | ||
migrations.AlterField( | ||
model_name='video', | ||
name='video_url', | ||
field=models.FileField(blank=True, null=True, upload_to='videos/', verbose_name='비디오 파일'), | ||
), | ||
migrations.AlterField( | ||
model_name='videoeventdata', | ||
name='duration', | ||
field=models.FloatField(verbose_name='동영상 전체 길이'), | ||
), | ||
migrations.AlterField( | ||
model_name='videoeventdata', | ||
name='video', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='video_event_datas', to='materials.video', verbose_name='시청 기록의 해당 동영상'), | ||
), | ||
] |
21 changes: 21 additions & 0 deletions
21
materials/migrations/0009_remove_image_image_url_remove_video_video_url.py
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,21 @@ | ||
# Generated by Django 5.1.1 on 2024-10-14 06:31 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('materials', '0008_alter_image_options_alter_video_options_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='image', | ||
name='image_url', | ||
), | ||
migrations.RemoveField( | ||
model_name='video', | ||
name='video_url', | ||
), | ||
] |
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,23 @@ | ||
# Generated by Django 5.1.1 on 2024-10-14 06:34 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('materials', '0009_remove_image_image_url_remove_video_video_url'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='image', | ||
name='url', | ||
field=models.URLField(default='https://paullab.co.kr/images/weniv-licat.png', verbose_name='이미지 URL'), | ||
), | ||
migrations.AddField( | ||
model_name='video', | ||
name='url', | ||
field=models.URLField(default='https://www.youtube.com/watch?v=bZh8oUIDfdI&t=1s', verbose_name='동영상 URL'), | ||
), | ||
] |
Oops, something went wrong.