Skip to content

Commit 2feff6c

Browse files
committed
fix migrations
1 parent 84be975 commit 2feff6c

File tree

3 files changed

+2
-27
lines changed

3 files changed

+2
-27
lines changed

dispatch/core/storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def generate_signed_url(path, content_type, expires_after_seconds=60):
99

1010
obj = os.path.join(settings.GS_LOCATION, path)
1111

12-
if settings.LOCAL_DEV:
12+
if settings.DEBUG:
1313
client = storage.Client().from_service_account_json(settings.GCS_CREDENTIALS_FILE)
1414
else:
1515
client = storage.Client()

dispatch/migrations/0021_podcast_categories.py

Lines changed: 0 additions & 25 deletions
This file was deleted.

dispatch/migrations/0021_podcast_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Generated by Django 1.11 on 2018-10-09 21:27
2+
# Generated by Django 1.11 on 2018-10-11 19:01
33
from __future__ import unicode_literals
44

55
from django.db import migrations, models

0 commit comments

Comments
 (0)