Skip to content

Commit

Permalink
fix: migrate bdo
Browse files Browse the repository at this point in the history
  • Loading branch information
michelebswm committed Oct 10, 2023
1 parent bd4a494 commit aedffe9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: sh -c "python manage.py migrate && gunicorn hashflix.wsgi --log-file -"
web: python manage.py migrate && gunicorn hashflix.wsgi --log-file -
Binary file modified db.sqlite3
Binary file not shown.
18 changes: 18 additions & 0 deletions filme/migrations/0002_alter_filme_categoria.py
Original file line number Diff line number Diff line change
@@ -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),
),
]
2 changes: 1 addition & 1 deletion hashflix/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit aedffe9

Please sign in to comment.