Changeset 878
- Timestamp:
- 10/14/05 19:54:42 (3 years ago)
- Files:
-
- django/trunk/django/core/meta/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/core/meta/__init__.py
r792 r878 564 564 565 565 # Give the class a docstring -- its definition. 566 new_class.__doc__ = "%s.%s(%s)" % (opts.module_name, name, ", ".join([f.name for f in opts.fields])) 566 if new_class.__doc__ is None: 567 new_class.__doc__ = "%s.%s(%s)" % (opts.module_name, name, ", ".join([f.name for f in opts.fields])) 567 568 568 569 # Create the standard, module-level API helper functions such
