1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

magic-removal: Renamed 'class META' to 'class Meta' in models

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2005-12-21 02:42:27 +00:00
parent fe524625ed
commit 29fe9598e0
22 changed files with 48 additions and 48 deletions

View File

@@ -11,7 +11,7 @@ class Employee(models.Model):
employee_code = models.CharField(maxlength=10, primary_key=True)
first_name = models.CharField(maxlength=20)
last_name = models.CharField(maxlength=20)
class META:
class Meta:
ordering = ('last_name', 'first_name')
def __repr__(self):
@@ -20,7 +20,7 @@ class Employee(models.Model):
class Business(models.Model):
name = models.CharField(maxlength=20, primary_key=True)
employees = models.ManyToManyField(Employee)
class META:
class Meta:
verbose_name_plural = 'businesses'
module_name = 'businesses'