Ticket #6068: 6068.patch

File 6068.patch, 2.2 KB (added by Wang Chun <wangchun@…>, 17 years ago)

no preview in trac, rename and try again...

  • modeltests/select_related/models.py

     
    11"""
    2 40. Tests for select_related()
     241. Tests for select_related()
    33
    44``select_related()`` follows all relationships and pre-caches any foreign key
    55values so that complex trees can be fetched in a single query. However, this
  • modeltests/empty/models.py

     
    11"""
    2 39. Empty model tests
     240. Empty model tests
    33
    44These test that things behave sensibly for the rare corner-case of a model with
    55no fields.
  • modeltests/serializers/models.py

     
    11# -*- coding: utf-8 -*-
    22"""
    3 41. Serialization
     342. Serialization
    44
    55``django.core.serializers`` provides interfaces to converting Django querysets
    66to and from "flat" data (i.e. strings).
  • modeltests/user_commands/models.py

     
    11"""
    2 37. User-registered management commands
     238. User-registered management commands
    33
    44The manage.py utility provides a number of useful commands for managing a
    55Django project. If you want to add a utility command of your own, you can.
     
    2727CommandError: Unknown command: 'explode'
    2828
    2929
    30 """}
    31  No newline at end of file
     30"""}
  • modeltests/test_client/models.py

     
    11# coding: utf-8
    22"""
    3 38. Testing using the Test Client
     339. Testing using the Test Client
    44
    55The test client is a class that can act like a simple
    66browser for testing purposes.
Back to Top