Ticket #628: patch.diff
File patch.diff, 717 bytes (added by , 19 years ago) |
---|
-
django/core/meta/__init__.py
563 563 new_class = type.__new__(cls, name, bases, attrs) 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 569 570 # as get_object() and get_list().