Ticket #6068: 6068.diff
File 6068.diff, 2.3 KB (added by , 17 years ago) |
---|
-
tests/modeltests/select_related/models.py
1 1 """ 2 4 0. Tests for select_related()2 41. Tests for select_related() 3 3 4 4 ``select_related()`` follows all relationships and pre-caches any foreign key 5 5 values so that complex trees can be fetched in a single query. However, this -
tests/modeltests/empty/models.py
1 1 """ 2 39. Empty model tests2 40. Empty model tests 3 3 4 4 These test that things behave sensibly for the rare corner-case of a model with 5 5 no fields. -
tests/modeltests/serializers/models.py
1 1 # -*- coding: utf-8 -*- 2 2 """ 3 4 1. Serialization3 42. Serialization 4 4 5 5 ``django.core.serializers`` provides interfaces to converting Django querysets 6 6 to and from "flat" data (i.e. strings). -
tests/modeltests/user_commands/models.py
1 1 """ 2 3 7. User-registered management commands2 38. User-registered management commands 3 3 4 4 The manage.py utility provides a number of useful commands for managing a 5 5 Django project. If you want to add a utility command of your own, you can. … … 27 27 CommandError: Unknown command: 'explode' 28 28 29 29 30 """} 31 No newline at end of file 30 """} -
tests/modeltests/test_client/models.py
1 1 # coding: utf-8 2 2 """ 3 3 8. Testing using the Test Client3 39. Testing using the Test Client 4 4 5 5 The test client is a class that can act like a simple 6 6 browser for testing purposes.