Ticket #10637: 10637.diff

File 10637.diff, 1.2 KB (added by Ramiro Morales, 16 years ago)
  • docs/ref/django-admin.txt

    diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
    a b  
    293293``inspectdb`` works with PostgreSQL, MySQL and SQLite. Foreign-key detection
    294294only works in PostgreSQL and with certain types of MySQL tables.
    295295
     296.. django-admin:: loaddata
     297
    296298loaddata <fixture fixture ...>
    297299------------------------------
    298300
  • docs/topics/testing.txt

    diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
    a b  
    944944    Fixtures with other names can always be installed manually using the
    945945    ``manage.py loaddata`` command.
    946946
    947 Once you've created a fixture and placed it somewhere in your Django project,
    948 you can use it in your unit tests by specifying a ``fixtures`` class attribute
    949 on your ``django.test.TestCase`` subclass::
     947Once you've created a fixture and placed it in an appropiate location (see the
     948:djadmin:`loaddata documentation<loaddata>` for more details) you can use it in
     949your unit tests by specifying a ``fixtures`` class attribute on your
     950``django.test.TestCase`` subclass::
    950951
    951952    from django.test import TestCase
    952953    from myapp.models import Animal
Back to Top