Changeset 6923
- Timestamp:
- 12/17/07 00:59:01 (9 months ago)
- Files:
-
- django/trunk/django/template/defaulttags.py (modified) (1 diff)
- django/trunk/docs/custom_model_fields.txt (modified) (1 diff)
- django/trunk/docs/request_response.txt (modified) (1 diff)
- django/trunk/docs/templates_python.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/template/defaulttags.py
r6671 r6923 815 815 816 816 Like a simple "include" tag, the ``ssi`` tag includes the contents 817 of another file -- which must be specified using an absolute pa ge--817 of another file -- which must be specified using an absolute path -- 818 818 in the current page:: 819 819 django/trunk/docs/custom_model_fields.txt
r6902 r6923 45 45 46 46 This is just an ordinary Python class, with nothing Django-specific about it. 47 We'd like to be able to things like this in our models (we assume the ``hand``48 attribute on the model is an instance of ``Hand``)::47 We'd like to be able to do things like this in our models (we assume the 48 ``hand`` attribute on the model is an instance of ``Hand``):: 49 49 50 50 example = MyModel.objects.get(pk=1) django/trunk/docs/request_response.txt
r6881 r6923 453 453 ``HttpResponseNotModified`` 454 454 The constructor doesn't take any arguments. Use this to designate that a 455 page hasn't been modified since the user's last request .455 page hasn't been modified since the user's last request (status code 304). 456 456 457 457 ``HttpResponseBadRequest`` django/trunk/docs/templates_python.txt
r6798 r6923 692 692 methods). 693 693 694 Registering acustom filters695 ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~694 Registering custom filters 695 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 696 696 697 697 Once you've written your filter definition, you need to register it with
