Skip to content

Commit

Permalink
Fix pep8 style errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerjou Cheng committed Mar 11, 2016
1 parent d5e173b commit 090ce07
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,27 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='Choice',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('id', models.AutoField(auto_created=True, primary_key=True,
serialize=False, verbose_name='ID')),
('choice_text', models.CharField(max_length=200)),
('votes', models.IntegerField(default=0)),
],
),
migrations.CreateModel(
name='Question',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('id', models.AutoField(auto_created=True, primary_key=True,
serialize=False, verbose_name='ID')),
('question_text', models.CharField(max_length=200)),
('pub_date', models.DateTimeField(verbose_name=b'date published')),
('pub_date', models.DateTimeField(
verbose_name=b'date published')),
],
),
migrations.AddField(
model_name='choice',
name='question',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='polls.Question'),
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
to='polls.Question'),
),
]
2 changes: 0 additions & 2 deletions datastore/api/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
import argparse
import datetime

import gcloud

# [START build_service]
from gcloud import datastore

Expand Down

0 comments on commit 090ce07

Please sign in to comment.