Commit 4fc3741e authored by Ramiro Morales's avatar Ramiro Morales
Browse files

Added fixtures files missing from [16590].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent be87f0b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -366,7 +366,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):

    def check_constraints(self, table_names=None):
        """
        Checks each table name in table-names for rows with invalid foreign key references. This method is
        Checks each table name in `table_names` for rows with invalid foreign key references. This method is
        intended to be used in conjunction with `disable_constraint_checking()` and `enable_constraint_checking()`, to
        determine if rows with invalid references were entered while constraint checks were off.

+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):

    def check_constraints(self, table_names=None):
        """
        Checks each table name in table-names for rows with invalid foreign key references. This method is
        Checks each table name in `table_names` for rows with invalid foreign key references. This method is
        intended to be used in conjunction with `disable_constraint_checking()` and `enable_constraint_checking()`, to
        determine if rows with invalid references were entered while constraint checks were off.

+17 −0
Original line number Diff line number Diff line
[
    {
        "pk": 1,
        "model": "fixtures_regress.book",
        "fields": {
            "name": "Cryptonomicon",
            "author": 4
        }
    },
    {
        "pk": "4",
        "model": "fixtures_regress.person",
        "fields": {
            "name": "Neal Stephenson"
        }
    }
]
 No newline at end of file
+17 −0
Original line number Diff line number Diff line
[
    {
        "pk": 1,
        "model": "fixtures_regress.book",
        "fields": {
            "name": "Cryptonomicon",
            "author": 3
        }
    },
    {
        "pk": "4",
        "model": "fixtures_regress.person",
        "fields": {
            "name": "Neal Stephenson"
        }
    }
]
 No newline at end of file