From 8708245d965e50695e8910ef46f52198674dc627 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 23 Jan 2006 04:37:24 +0000 Subject: [PATCH] magic-removal: Updated docs/model-api.txt to remove sections on 'exceptions' and 'module_constants' params to 'class Meta' git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2116 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/model-api.txt | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/docs/model-api.txt b/docs/model-api.txt index e9e91887cd..746f63f44f 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -735,13 +735,6 @@ Here's a list of all possible ``Meta`` options. No options are required. Adding that aren't allowed in Python variable names -- notably, the hyphen -- that's OK. Django quotes column and table names behind the scenes. -``exceptions`` - Names of extra exception subclasses to include in the generated module. - These exceptions are available from instance methods and from module-level - methods:: - - exceptions = ("DisgustingToppingsException", "BurntCrust") - ``get_latest_by`` The name of a ``DateField`` or ``DateTimeField``. If given, the module will have a ``get_latest()`` function that fetches the "latest" object according @@ -753,14 +746,6 @@ Here's a list of all possible ``Meta`` options. No options are required. Adding .. _Getting the "latest" object: http://www.djangoproject.com/documentation/models/get_latest/ -``module_constants`` - A dictionary of names/values to use as extra module-level constants:: - - module_constants = { - 'MEAT_TYPE_PEPPERONI' : 1, - 'MEAT_TYPE_SAUSAGE' : 2, - } - ``module_name`` The name of the module::