Skip to content

Commit

Permalink
Try updating migration
Browse files Browse the repository at this point in the history
  • Loading branch information
hancush committed Jul 24, 2019
1 parent ecb9d10 commit 17905a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion councilmatic_core/migrations/0047_update_filepath.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Generated by Django 2.1.9 on 2019-06-18 17:30
import os

from django.conf import settings
import django.core.files.storage
from django.db import migrations, models

Expand All @@ -14,6 +16,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='person',
name='headshot',
field=models.FileField(default='images/headshot_placeholder.png', storage=django.core.files.storage.FileSystemStorage(base_url='/', location='/Users/hannah/projects/chi-councilmatic/councilmatic/../chicago/static'), upload_to='images/headshots'),
field=models.FileField(default='images/headshot_placeholder.png', storage=django.core.files.storage.FileSystemStorage(base_url='/', location=os.path.join(settings.STATIC_PATH)), upload_to='images/headshots'),
),
]

0 comments on commit 17905a6

Please sign in to comment.