1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Fixed pep8

This commit is contained in:
Retspen 2015-03-27 17:12:15 +02:00
parent b9bf14fdb5
commit 56f840c893
13 changed files with 37 additions and 18 deletions

View file

@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations
def add_favors(apps, schema_editor):
Flavor = apps.get_model("create", "Flavor")
@ -18,6 +19,7 @@ def add_favors(apps, schema_editor):
add_flavor = Flavor(label="xlarge", vcpu="8", memory="16384", disk="160")
add_flavor.save()
class Migration(migrations.Migration):
dependencies = [
@ -26,4 +28,4 @@ class Migration(migrations.Migration):
operations = [
migrations.RunPython(add_favors),
]
]