Ticket #10614: models.diff
File models.diff, 602 bytes (added by , 16 years ago) |
---|
-
docs/topics/db/models.txt
1022 1022 proxy model by setting the :attr:`~django.db.models.Options.proxy` attribute to of the ``Meta`` class to ``True``. 1023 1023 1024 1024 For example, suppose you want to add a method to the standard ``User`` model 1025 that will makebe used in your templates. You can do it like this::1025 that will be used in your templates. You can do it like this:: 1026 1026 1027 1027 from django.contrib.auth.models import User 1028 1028