PEP8 cleanup, unused imports, missing imports, style cleanups

This commit is contained in:
Roberto Rosario
2014-07-10 02:45:19 -04:00
parent beaccf7128
commit 3bed82fc16
75 changed files with 119 additions and 290 deletions

View File

@@ -1,20 +1,18 @@
# encoding: utf-8
import datetime
from south.db import db
from south.v2 import DataMigration
from django.db import models
class Migration(DataMigration):
def forwards(self, orm):
for permission_holder in orm.PermissionHolder.objects.all():
permission_holder.delete()
def backwards(self, orm):
raise RuntimeError("Cannot reverse this migration.")
models = {
'contenttypes.contenttype': {
'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},