| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
fixtures test.
This prevented the temporary directory from being removed
on Windows.
|
|
|
|
| |
on_delete for ForeignKey/OneToOneField
|
|
|
|
|
|
| |
outputting to file
Thanks Gwildor Sok for the report and Tim Graham for the review.
|
|
|
|
| |
warnings on Windows.
|
| |
|
|
|
|
| |
fixture paths
|
|
|
|
| |
message on fully-qualified package names.
|
|
|
|
| |
path.
|
|
|
|
|
|
|
| |
objects in loaddata
Added a running count of the objects processed by loaddata when
verbosity >= 3.
|
| |
|
| |
|
|
|
|
| |
deprecation timeline.
|
|
|
|
|
|
|
| |
retrieving fields.
Thanks to Russell Keith-Magee for mentoring this Google Summer of
Code 2014 project and everyone else who helped with the patch!
|
| |
|
|
|
|
|
|
|
|
| |
Previous versions of the tests were buggy, as initial_data.json
did exist and the test wasn't failing. It was finally failing on
Python 3.4.2.
Thanks Raphaël Hertzog for the report (and Debian bug #765117
contributors).
|
|
|
|
|
|
| |
packages.
This is a reliqua from the early days of the modeltests/regressiontests era.
|
|
|
|
|
|
| |
in Django's test suite.
Thanks Claude Paroz for assistance with debugging the tests.
|
| |
|
|
|
|
| |
command.
|
|
|
|
| |
Thanks Aymeric Augustin for the report.
|
|
|
|
| |
Thanks Piotr Kasprzyk for help with the patch.
|
|
|
|
|
|
|
|
|
|
|
| |
dumpdata command
When invoked as follows:
$ python manage.py dumpdata blogapp blogapp.Tag
Django would throw a TypeError. This commit fixes the problem and provides
a test.
|
|
|
|
| |
migrated apps
|
|
|
|
|
|
|
| |
It contained models, forms and admin objects causing undesirable
import side effects. Refs #16368.
Thanks to Ramiro, Carl and Loïc for the review.
|
|
|
|
| |
Signed-off-by: Jason Myers <jason@jasonamyers.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
primary keys.
Added ``--natural-foreign`` and ``--natural-primary`` options and
deprecated the ``--natural`` option to the ``dumpdata`` management
command.
Added ``use_natural_foreign_keys`` and ``use_natural_primary_keys``
arguments and deprecated the ``use_natural_keys`` argument to
``django.core.serializers.Serializer.serialize()``.
Thanks SmileyChris for the suggestion.
|
|
|
|
|
|
|
| |
* Removed trailing whitespace.
* Added newline to EOF if missing.
* Removed blank lines at EOF.
* Removed some stray tabs.
|
|
|
|
|
|
| |
define an empty list of fixtures.
Thanks to lgs for the report and initial patch.
|
|
|
|
| |
unified them.
|
| |
|
|
|
|
|
| |
Should be unneeded with Python 2.7 and up.
Added some unicode_literals along the way.
|
|
|
|
|
| |
This was a stealth option only used by the tests, and it isn't useful
any more since `atomic` provides nested transactions.
|
|
|
|
| |
Fixed #20483.
|
|
|
|
| |
Thanks weipin for the report and Baptiste Mispelon for the patch.
|
|
|
|
|
|
| |
The failure was caused by generating the same warning from two tests.
The second time the same warning was raised it was swallowed by the
"once" simplefilter of warnings.
|
|
|
|
|
| |
Thanks to guettli for the initial ticket and patch, with additional work
from mehmetakyuz and Kevin Brolly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
doesn't exist
If the fixture doesn't exist, loaddata will output a warning.
The fixture named "initial_data" is exceptional though; if it
doesn't exist, the warning is not emitted. This allows syncdb and
flush management commands to attempt to load it without causing
spurious warnings.
Thanks to Derega, ptone, dirigeant and d1ffuz0r for contributions
to the ticket.
|
|
|
|
|
|
|
|
|
| |
exist
The fixture named "initial_data" is exceptional though; if it
doesn't exist, the error is not raised. This allows syncdb and
flush management commands to attempt to load it without causing
an error if it doesn't exist.
|
|
|
|
| |
the methods that return a QuerySet.
|
|
|