From d78533535f91ae9fbcb5314e334663d1b0ecac17 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 23 Jan 2006 03:08:10 +0000 Subject: [PATCH] magic-removal: module_name is no longer a valid 'class Meta' attribute git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2113 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/models/options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/db/models/options.py b/django/db/models/options.py index 6b134a4590..7a6edacab9 100644 --- a/django/db/models/options.py +++ b/django/db/models/options.py @@ -9,8 +9,8 @@ import re # Calculate the verbose_name by converting from InitialCaps to "lowercase with spaces". get_verbose_name = lambda class_name: re.sub('([A-Z])', ' \\1', class_name).lower().strip() -DEFAULT_NAMES = ('module_name', 'verbose_name', 'verbose_name_plural', 'db_table', 'ordering', - 'unique_together', 'admin','where_constraints', 'exceptions', 'permissions', +DEFAULT_NAMES = ('verbose_name', 'verbose_name_plural', 'db_table', 'ordering', + 'unique_together', 'admin', 'where_constraints', 'exceptions', 'permissions', 'get_latest_by', 'order_with_respect_to', 'module_constants') class Options: