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

@@ -13,7 +13,7 @@ from django.db import models
class Article(models.Model):
headline = models.CharField(maxlength=100)
pub_date = models.DateTimeField()
class META:
class Meta:
get_latest_by = 'pub_date'
def __repr__(self):