Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #24857 -- Added "python -m django" entry point.Ryan Hiebert2015-09-081-0/+9
|
* Fixed #25356 -- Removed default_app_config from startapp ↵Tim Graham2015-09-071-4/+0
| | | | | | template. Also discouraged its use outside the intended use case.
* Removed 'Test that' prefix from admindocs tests.Zan Anderle2015-09-071-4/+4
|
* Fixed #24917 -- Made admindocs display model methods ↵Zan Anderle2015-09-073-1/+78
| | | | that take arguments.
* Fixed #24706 -- Made ModelForm._post_clean() handle a ↵Keryn Knight2015-09-072-2/+61
| | | | | | ValidationError raised when constructing the model instance. Thanks Loïc Bistuer for review and advice.
* Moved an import to the toplevel.Aymeric Augustin2015-09-051-5/+5
|
* Cleaned up docstrings in csrf_tests/tests.py.Joshua Kehn2015-09-051-15/+13
|
* Fixed #25334 -- Provided a way to allow cross-origin ↵Joshua Kehn2015-09-051-0/+13
| | | | | | | | unsafe requests over HTTPS. Added the CSRF_TRUSTED_ORIGINS setting which contains a list of other domains that are included during the CSRF Referer header verification for secure (HTTPS) requests.
* Fixed #24525 -- Fixed AssertionError in some complex ↵Tim Graham2015-09-052-3/+15
| | | | | | queries. Thanks Anssi Kääriäinen for providing the solution.
* Fixed #25297 -- Allowed makemessages to work with {% ↵Alexandre Pocquet2015-09-042-6/+40
| | | | trans %} tags that use template filters.
* Fixed #25353 -- Changed LogEntry.action_time to a "date ↵Tim Graham2015-09-041-0/+10
| | | | created".
* Fixed #25099 -- Fixed crash in AdminEmailHandler on ↵Vlastimil Zíma2015-09-043-0/+47
| | | | DisallowedHost.
* Fixed #25348 -- Removed unused gif/png images from ↵elky2015-09-042-3/+3
| | | | contrib.admin.
* Fixed GeoIP test crash when dependencies not installed.Tim Graham2015-09-041-1/+1
|
* Refs #25345 -- Updated links to code.google.com.Maxime Lorant2015-09-041-1/+1
|
* Fixed #19263 -- Fixed crash when filtering using __in ↵Tim Graham2015-09-041-0/+9
| | | | | | and an empty QuerySet. Thanks Marcin Biernat for the initial patch and tests.
* Fixed #25058 -- Added GenericRelations with ↵sarthakmeh2015-09-033-18/+41
| | | | related_query_name to the admin's delete confirmation page.
* Removed some test settings following removal of ↵Tim Graham2015-09-031-2/+0
| | | | compatibility checks.
* Fixed #25335 -- Fixed regression where ↵Gavin Wahl2015-09-031-0/+3
| | | | QuerySet.iterator() didn't return an iterator.
* Fixed #25246 -- Guarded against duplicate paths in ↵Caio Ariede2015-09-021-0/+8
| | | | AppConfig.
* Fixed #25320 -- Reverted ManyToManyField.null to False ↵Tim Graham2015-09-012-0/+16
| | | | | | for backwards compatibility. Thanks Tom Christie for the report and review.
* Rewrote form widget tests as proper unittests.Preston Timmons2015-09-0126-1825/+2270
| | | | | | This is preparation for landing the template-based widget rendering patch and goes a long way to making these tests more useful for future development. The old doctest heritage is strong here.
* Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant2015-08-3118-49/+0
|
* Refs #24121 -- Added a repr() to gis.GeoIP and gis.GeoIP2.Keryn Knight2015-08-312-0/+34
|
* Refs #24121 -- Added repr() to LazySettings, Settings, ↵Keryn Knight2015-08-311-1/+26
| | | | and UserSettingsHolder.
* Removed unnecessary ↵Adam Chainz2015-08-311-8/+1
| | | | | | | | | DBCacheTests.test_clear_commits_transaction test. Was added in 44164c5c308da32a804dfb03ce0bffde2a6b4c56 but the transaction.commit_unless_managed() line was removed in ba5138b1c0253fcf390b7509ad7b954117b3be88; thus the test does nothing but check that clear() runs.
* Fixed #25259 -- Added comments to header of generated ↵Tyson Clugg2015-08-311-1/+23
| | | | migration files
* Fixed #25252 -- Added friendly error message on ↵Y3K2015-08-311-0/+20
| | | | | | | incorrect .select_related() use Using select_related() after .values() or .values_list() is not possible because .values() or .values_list() already got the values they need.
* Made the autoreloader survive all exceptions.Aymeric Augustin2015-08-291-0/+16
| | | | Refs #24704.
* Ensured gen_filenames() yields native strings.Aymeric Augustin2015-08-291-0/+4
| | | | | This also fixes a test failure on Python 2 when Django is installed in a non-ASCII path. This problem cannot happen on Python 3.
* Refactored autoreload tests.Aymeric Augustin2015-08-291-43/+70
| | | | | | * Added helpers to test uncached and cached access. * Fixed test_project_root_locale: it duplicated test_locale_paths_setting. * Rewrote test_only_new_files: test more cases.
* Accounted for error files in the autoreloader.Aymeric Augustin2015-08-291-0/+40
| | | | | | | * When some old files contain errors, the second call to gen_filenames() should return them. * When some new files contain errors, the first call to gen_filenames(only_new=True) should return them.
* Fixed #17375 -- Changed makemessages to use xgettext ↵Sergey Kolosov2015-08-283-0/+26
| | | | | | | | | with --files-from Changed the way makemessages invokes xgettext from one call per translatable file to one call per locale directory (using --files-from). This allows to avoid https://savannah.gnu.org/bugs/index.php?35027 and, as a positive side effect, speeds up localization build.
* Fixed #25323 -- Fixed selenium test failures with ↵Tim Graham2015-08-282-14/+15
| | | | chromedriver 2.18.
* Fixed #25318 -- Made SILENCED_SYSTEM_CHECKS suppress all ↵Tim Graham2015-08-281-8/+2
| | | | | | | messages. Previously, messages of ERROR level or higher were printed to the console.
* Fixed #25299 -- Fixed crash with ModelAdmin.list_display ↵Tim Graham2015-08-282-1/+15
| | | | value that clashes with a model reverse accessor.
* Refs #24590 -- Ensured isolation between autodetector testsMarkus Holtermann2015-08-282-59/+75
| | | | Fixed a regression introduced in e1427cc609fa6ab247501b101cfb3c0092aba55b when running tests in reverse order.
* Fixed #20597 -- Replaced admin GIF/PNG icons by SVGelky2015-08-273-4/+4
|
* Fixed #22634 -- Made the database-backed session ↵Sergey Kolosov2015-08-273-9/+83
| | | | | | | | backends more extensible. Introduced an AbstractBaseSession model and hooks providing the option of overriding the model class used by the session store and the session store class used by the model.
* Fixed #24201 -- Added order_with_respect_to support to ↵Alex Hill2015-08-274-22/+99
| | | | GenericForeignKey.
* Fixed #24590 -- Cached calls to swappable_setting.Markus Holtermann2015-08-271-16/+20
| | | | | | | | | | Moved the lookup in Field.swappable_setting to Apps, and added an lru_cache to cache the results. Refs #24743 Thanks Marten Kenbeek for the initial work on the patch. Thanks Aymeric Augustin and Tim Graham for the review.
* Fixed #25280 -- Properly checked regex objects for ↵Markus Holtermann2015-08-271-0/+43
| | | | | | | equality to prevent infinite migrations Thanks Sayid Munawar and Tim Graham for the report, investigation and review.
* Fixed #25308 -- Made MigrationQuestioner respect ↵Jeremy Satterfield2015-08-261-0/+10
| | | | MIGRATION_MODULES setting.
* Fixed #14217 -- Added validation for field name ↵sarthakmeh2015-08-251-0/+19
| | | | collision when using model inheritance.
* Fixed #25295 -- Restored 'no active translation' after ↵Claude Paroz2015-08-251-0/+3
| | | | | | language override Thanks David Nelson Adamec for the report and Tim Graham for the review.
* Fixed #25302 -- Prevented BrokenLinkEmailsMiddleware ↵Maxime Lorant2015-08-251-0/+18
| | | | from reporting 404s when Referer = URL.
* Fixed #23727 -- Inhibited the post_migrate signal when ↵Tommy Beadle2015-08-241-0/+28
| | | | | | | | | | | | | | | | | | | | | | | using serialized_rollback. When using a TransactionTestCase with serialized_rollback=True, after creating the database and running its migrations (along with emitting the post_migrate signal), the contents of the database are serialized to _test_serialized_contents. After the first test case, _fixture_teardown() would flush the tables but then the post_migrate signal would be emitted and new rows (with new PKs) would be created in the django_content_type table. Then in any subsequent test cases in a suite, _fixture_setup() attempts to deserialize the content of _test_serialized_contents, but these rows are identical to the rows already in the database except for their PKs. This causes an IntegrityError due to the unique constraint in the django_content_type table. This change made it so that in the above scenario the post_migrate signal is not emitted after flushing the tables, since it will be repopulated during fixture_setup().
* Tweak some examples.Aymeric Augustin2015-08-224-27/+27
| | | | | "Area man/woman" is confusing to people not familiar with the conventions of American journalism (like me).
* Fixed #25300 -- Added unit tests for BoundField.id_for_labelMaxime Lorant2015-08-221-0/+19
|
* Fixed typo in tests/migrations/test_autodetector.py.Tim Graham2015-08-201-6/+6
|