Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #8007: removed mention of admin options in models from docs/des…


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 6bcb4935f290ed4caee9cbb0e99c3870d2cb5103 1 parent df284da
@ubernostrum ubernostrum authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 docs/design_philosophies.txt
6 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`:

0 comments on commit 6bcb493

Please sign in to comment.
Something went wrong with that request. Please try again.