Fix RemovedInDjango19Warning

This commit is contained in:
muhammad-ammar
2015-11-11 13:58:07 +05:00
parent 835eccaf67
commit f55f9af891

View File

@@ -582,9 +582,6 @@ class ProviderApiPermissions(models.Model):
It gives permission for a OAuth2 client to access the information under certain IdPs.
"""
class Meta(object):
app_label = "third_party_auth"
client = models.ForeignKey(Client)
provider_id = models.CharField(
max_length=255,
@@ -594,5 +591,6 @@ class ProviderApiPermissions(models.Model):
)
class Meta(object): # pylint: disable=missing-docstring
app_label = "third_party_auth"
verbose_name = "Provider API Permission"
verbose_name_plural = verbose_name + 's'