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 72224e5..e55b740 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ 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",