Skip to content

Commit

Permalink
Fixed #8 -- Removed the explicit app_label on base models.
Browse files Browse the repository at this point in the history
They were originally added to silence a deprecation warning raised
during Django 1.7.x development. Refs Django#21794.

Thanks to @arthanson for the report.
  • Loading branch information
charettes committed Jul 15, 2015
1 parent 788bfc9 commit fe3ff2b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions polymodels/models.py
Expand Up @@ -15,7 +15,6 @@

class BasePolymorphicModel(models.Model):
class Meta:
app_label = 'polymodels'
abstract = True

def type_cast(self, to=None):
Expand Down Expand Up @@ -64,7 +63,6 @@ class PolymorphicModel(BasePolymorphicModel):
objects = PolymorphicManager()

class Meta:
app_label = 'polymodels'
abstract = True


Expand Down

0 comments on commit fe3ff2b

Please sign in to comment.