mirror of https://github.com/zulip/zulip.git
2d9b2a2a05
The Django convention is for __repr__ to include the type and __str__ to omit it. In fact its default __repr__ implementation for models automatically adds a type prefix to __str__, which has resulted in the type being duplicated: >>> UserProfile.objects.first() <UserProfile: <UserProfile: emailgateway@zulip.com <Realm: zulipinternal 1>>> Signed-off-by: Anders Kaseorg <anders@zulip.com> |
||
---|---|---|
.. | ||
management | ||
migrations | ||
CHANGELOG.txt | ||
LICENSE.txt | ||
README.txt | ||
__init__.py | ||
models.py | ||
settings.py |
README.txt
=================== Django Confirmation =================== This is a generic object confirmation system for Django applications. For installation instructions, see the file "INSTALL.txt" in this directory; for instructions on how to use this application, and on what it provides, see the file "overview.txt" in the "docs/" directory.