From aedffe940dfe8e00f438f6c6e1a00deeebbf79f8 Mon Sep 17 00:00:00 2001 From: Michele de Barros Santos Date: Mon, 9 Oct 2023 22:50:51 -0300 Subject: [PATCH] fix: migrate bdo --- Procfile | 2 +- db.sqlite3 | Bin 159744 -> 159744 bytes .../migrations/0002_alter_filme_categoria.py | 18 ++++++++++++++++++ hashflix/settings.py | 2 +- 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 filme/migrations/0002_alter_filme_categoria.py diff --git a/Procfile b/Procfile index 639953d..06a5728 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: sh -c "python manage.py migrate && gunicorn hashflix.wsgi --log-file -" \ No newline at end of file +web: python manage.py migrate && gunicorn hashflix.wsgi --log-file - \ No newline at end of file diff --git a/db.sqlite3 b/db.sqlite3 index 72224e555db0aec8f51d122a699bc51c356341cf..e55b740c4bb8e6d5244116573f7a95f8b8b22fba 100644 GIT binary patch delta 120 zcmZp8z}fJCbAmME;fXTNjE6TSEa7Js;kq}OT|k|Q>)vKVfpuICb|S0{;*O4KnK`+s z1_lO3@rgMlsYUT%etdFbNosn2QD&l%fswJUp#cyn7#Lca8dw<{>KPjw8yJ~ymXqEr U!YI;wNx%J)KI8UF`b>Hb02ps24gdfE delta 52 zcmV-40L%Y?;0b`>36L8B!jT+90m89hqz?lV3m%gP5GS)CAn*#a9vib10TYALFNe}E K0k_gG0xm%1v=OoZ diff --git a/filme/migrations/0002_alter_filme_categoria.py b/filme/migrations/0002_alter_filme_categoria.py new file mode 100644 index 0000000..3820052 --- /dev/null +++ b/filme/migrations/0002_alter_filme_categoria.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.5 on 2023-10-10 01:50 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('filme', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='filme', + name='categoria', + field=models.CharField(choices=[('ANALISES', 'Análises'), ('PROGRAMACAO', 'Programação'), ('APRESENTACAO', 'Apresentação'), ('OUTROS', 'Outros'), {'ANIMES', 'Animes'}, ['FILME_A', 'Filme de Ação']], max_length=15), + ), + ] diff --git a/hashflix/settings.py b/hashflix/settings.py index 16120f7..efa9053 100644 --- a/hashflix/settings.py +++ b/hashflix/settings.py @@ -134,7 +134,7 @@ STATIC_URL = 'static/' # Caminho absoluto para o diretório onde os arquivos estáticos coletados serão armazenados. -STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') +STATIC_ROOT = BASE_DIR / "staticfiles" STATICFILES_DIRS = [ BASE_DIR / "static",