summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJames Bennett <ubernostrum@gmail.com>2008-08-16 14:41:28 +0000
committerJames Bennett <ubernostrum@gmail.com>2008-08-16 14:41:28 +0000
commit6bcb4935f290ed4caee9cbb0e99c3870d2cb5103 (patch)
tree37c792ce9b31e8953a8089e9ef0d9922e04bea94 /docs
parentdf284da44f9f4d1f7e225a4ffa5b3a0c2efdec02 (diff)
downloaddjango-6bcb4935f290ed4caee9cbb0e99c3870d2cb5103.tar.gz
Fixed #8007: removed mention of admin options in models from docs/design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/design_philosophies.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/design_philosophies.txt b/docs/design_philosophies.txt
index aae0fa836e..465c4b547e 100644
--- a/docs/design_philosophies.txt
+++ b/docs/design_philosophies.txt
@@ -83,8 +83,10 @@ Include all relevant domain logic
Models should encapsulate every aspect of an "object," following Martin
Fowler's `Active Record`_ design pattern.
-This is why model-specific admin options are included in the model itself; data
-related to a model should be stored *in* the model.
+This is why both the data represented by a model and information about
+it (its human-readable name, options like default ordering, etc.) are
+defined in the model class; all the information needed to understand a
+given model should be stored *in* the model.
.. _`Active Record`: http://www.martinfowler.com/eaaCatalog/activeRecord.html