Convert Meta classes to new-style classes

This commit is contained in:
Sarina Canelake
2015-07-10 11:31:45 -04:00
parent b41e70f541
commit 22bbdacee9
19 changed files with 39 additions and 39 deletions

View File

@@ -57,7 +57,7 @@ class Role(models.Model):
users = models.ManyToManyField(User, related_name="roles")
course_id = CourseKeyField(max_length=255, blank=True, db_index=True)
class Meta:
class Meta(object): # pylint: disable=missing-docstring
# use existing table that was originally created from django_comment_client app
db_table = 'django_comment_client_role'
@@ -99,7 +99,7 @@ class Permission(models.Model):
name = models.CharField(max_length=30, null=False, blank=False, primary_key=True)
roles = models.ManyToManyField(Role, related_name="permissions")
class Meta:
class Meta(object): # pylint: disable=missing-docstring
# use existing table that was originally created from django_comment_client app
db_table = 'django_comment_client_permission'