Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/admin_scripts
Commit message (Collapse)AuthorAgeFilesLines
* Refs #25589 -- Fixed admin_scripts test failure on Windows.Tim Graham2015-10-231-1/+1
| | | | | | | | | Traceback (most recent call last): File "tests\admin_scripts\tests.py", line 646, in test_startapp_unicode_name content = f.read() File "lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 46: character maps to <undefined>
* Fixed #25589 -- Allowed startapp/project to create apps ↵Yoong Kang Lim2015-10-221-3/+27
| | | | with Unicode characters in the name.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-14/+74
|
* Supported running admin_script testcases concurrently.Aymeric Augustin2015-09-091-29/+44
|
* 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 some test settings following removal of ↵Tim Graham2015-09-031-2/+0
| | | | compatibility checks.
* Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant2015-08-311-1/+0
|
* Fixed #25285 -- Provided unknown command message with ↵Claude Paroz2015-08-191-6/+12
| | | | | | | plain django-admin.py Thanks Maxime Lorant for the report and Tim Graham for suggesting the improved comment.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-1/+1
| | | | on_delete for ForeignKey/OneToOneField
* Fixed #24971 -- Made startapp generate an apps.pyMounir Messelmeni2015-06-161-0/+8
|
* Fixed #24950 -- Added unicode_literals to models.py in ↵Markus Holtermann2015-06-111-1/+8
| | | | | | app template Thanks Tim Graham for the patch
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-2/+4
|
* Fixed #24742 -- Made runserver.check_migrations ignore ↵Claude Paroz2015-05-131-1/+25
| | | | | | | read-only databases Thanks Luis Del Giudice for the report, and Aymeric Augustin and Markus Holtermann for the reviews.
* Fixed #24571 -- Restored testserver positional arguments ↵Claude Paroz2015-04-041-0/+15
| | | | | | | parsing Thanks Domas Lapinskas for the report and Tim Graham for the review.
* Guaranteed removal of temporary files during tests.Aymeric Augustin2015-02-231-1/+2
| | | | | | | Dropped the DJANGO_TEST_TEMP_DIR environment variable. Before this change, proper removal depended on the developer passing dir=os.environ['DJANGO_TEST_TMP_DIR'] to tempfile functions.
* Refs #24324 -- Fixed Python 2 test failures when path to ↵Tim Graham2015-02-181-2/+2
| | | | Django source contains non-ASCII characters.
* Prevented some test commands from needlessly running ↵Tim Graham2015-02-111-0/+1
| | | | | | | | | system checks. This is a performance optimization and also fixes test errors with the upcoming merge of contrib tests into tests/. The tests failed on MySQL because the models with GeometryField were being checked but the non-GIS MySQL backend didn't know how to handle them.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-064-11/+11
|
* Removed support for syncing apps without migrations per ↵Tim Graham2015-01-181-7/+0
| | | | | | | deprecation timeline. Kept support for creating models without migrations when running tests (especially for Django's test suite).
* Removed unused imports from previous commit.Tim Graham2015-01-171-3/+1
|
* Removed BaseCommand.requires_model_validation per ↵Tim Graham2015-01-172-16/+0
| | | | deprecation timeline.
* Removed support for custom SQL per deprecation timeline.Tim Graham2015-01-171-1/+0
|
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-6/+5
|
* Fixed #21255 -- Closed connections after management ↵Claude Paroz2014-12-291-1/+13
| | | | | | | command ran Thanks kabakov.as@gmail.com for the report, and Aymeric Augustin, Simon Charette for the reviews.
* Removed an unnecessary models file in the admin_scripts ↵Tim Graham2014-12-271-14/+0
| | | | tests.
* Replaced sqlall in some bash_completion/admin_scripts tests.Tim Graham2014-12-271-89/+85
| | | | | sqlall will be removed in Django 1.9, so now's a good time to remove its usage where it's not important.
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-4/+4
| | | | Django test suite.
* Refactored color_style() and no_style() to improve ↵Loic Bistuer2014-10-221-0/+16
| | | | | | | | | | | | | | | | testability. Refs #23663. This includes the following improvements: - The type of the style object is now called 'Style' rather than 'dummy'. - The new make_style() function allows generating a Style object directly from a config string. Before the only way to get a style object was through the environ and it also required that the terminal supported colors which isn't necessarily the case when testing. - The output of no_style() is now cached with @lru_cache. - The output of no_style() now has the same set of attributes as the other Style objects. Previously it allowed anything to pass through with __getattr__.
* Fixed #23686 -- Tweak color output of the system check ↵Loic Bistuer2014-10-221-1/+1
| | | | | | framework. Thanks Tim Graham for the review.
* Made testing of stdout and stderr more consistent.Loic Bistuer2014-10-221-32/+27
| | | | Refs #23663.
* Fixed #23663 -- Initialize output streams for ↵Loic Bistuer2014-10-222-13/+75
| | | | | | | | | BaseCommand in __init__(). This helps with testability of management commands. Thanks to trac username daveoncode for the report and to Tim Graham and Claude Paroz for the reviews.
* Fixed #23107 -- Made runserver output respect --no-color.Loic Bistuer2014-10-211-1/+0
| | | | | | | | | | | | | | | This commit reverts 67d7da5fb9498b811f0168f5df2308ad4743027f. The previous fix changed the environment globally, which meant that any call to `call_command(no_color=True)` prevented further `call_command` with color. This fix still relies on the environment because it's currently the only way to reach WSGIRequestHandler, but it's now limited to the `runserver` command. This seems an acceptable compromise considering `runserver` runs indefinitely. Thanks Tim Graham for the review.
* Fixed #23495 -- Stopped swallowing real settings import ↵Claude Paroz2014-09-171-31/+35
| | | | | | error Thanks papaloizouc for the report.
* Fixed #23136 -- Added a message when sqlclear does nothingGabriel Muñumel2014-08-181-1/+9
|
* Fixed #23276 -- Deprecated passing views as strings to ↵Tim Graham2014-08-121-1/+2
| | | | url().
* Fixed #23107 -- Made runserver output respect --no-color.areski2014-07-301-0/+1
|
* Fixed #22835 -- Deprecated NoArgsCommand.Maxime Turcotte2014-06-196-36/+36
|
* Fixed #7762 -- Hidden full script name in command error ↵Claude Paroz2014-06-141-0/+8
| | | | output
* Restored command error behavior when called from command ↵Claude Paroz2014-06-141-3/+4
| | | | | | line Refs #19973.
* Fixed several flake8 errorsAlex Gaynor2014-06-141-3/+3
|
* Converted remaining management commands to argparseClaude Paroz2014-06-144-26/+19
|
* Fixed #19973 -- Replaced optparse by argparse in ↵Claude Paroz2014-06-142-17/+16
| | | | | | management commands Thanks Tim Graham for the review.
* Fixed #22477 -- Removed contrib middleware from the ↵mlavin2014-06-131-1/+2
| | | | | | | | global settings defaults. Also added a compatibility check for changed middleware defaults. Forwardport of d94de802d3 from stable/1.7.x
* Fixed #22699 -- Configure default settings in some ↵Aymeric Augustin2014-05-271-0/+2
| | | | | | | | | management commands. This makes it possible to run django.setup() in management commands that don't need a settings module. In addition it simplifies error handling. Thanks Claude for the review.
* Fixed #21634 -- Prevented hiding ImproperlyConfigured ↵Claude Paroz2014-05-161-6/+6
| | | | | | when command not found Thanks nikolay.v.golub@gmail.com for the report.
* Fix many many typos in comments throughout the codebaseAlex Gaynor2014-04-261-1/+1
|
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-2/+2
|
* Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham2014-04-031-6/+5
| | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
* Fixed test failures on Windows.Tim Graham2014-03-111-1/+1
| | | | refs #21092 and 8d7e048a8b428bebe82be735a84570f9250441e6