Skip to content

Commit

Permalink
Merge pull request #4 from fredrikmollerstrand/master
Browse files Browse the repository at this point in the history
linting: remove unused import
  • Loading branch information
tbartelmess committed Mar 5, 2014
2 parents 360ed68 + a0732bb commit 680d24d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modelmixins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from django.db import models
from django.db.models.signals import class_prepared
from django.dispatch import receiver
from django.db.models.fields import Field


class ModelMixin(object):
Expand All @@ -18,7 +17,7 @@ def model_mixin(cls, target):
Adds the fields of the class to the target passed in.
"""
assert issubclass(target, models.Model)

fields = {}

for (name, attr) in list(cls.__dict__.items()):
Expand Down

0 comments on commit 680d24d

Please sign in to comment.