Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #25589 -- Fixed admin_scripts test failure on Windows. | Tim Graham | 2015-10-23 | 1 | -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 Lim | 2015-10-22 | 1 | -3/+27 |
| | | | | with Unicode characters in the name. | ||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -14/+74 |
| | |||||
* | Supported running admin_script testcases concurrently. | Aymeric Augustin | 2015-09-09 | 1 | -29/+44 |
| | |||||
* | Fixed #24857 -- Added "python -m django" entry point. | Ryan Hiebert | 2015-09-08 | 1 | -0/+9 |
| | |||||
* | Fixed #25356 -- Removed default_app_config from startapp ↵ | Tim Graham | 2015-09-07 | 1 | -4/+0 |
| | | | | | | template. Also discouraged its use outside the intended use case. | ||||
* | Removed some test settings following removal of ↵ | Tim Graham | 2015-09-03 | 1 | -2/+0 |
| | | | | compatibility checks. | ||||
* | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | 2015-08-31 | 1 | -1/+0 |
| | |||||
* | Fixed #25285 -- Provided unknown command message with ↵ | Claude Paroz | 2015-08-19 | 1 | -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 Curella | 2015-07-28 | 1 | -1/+1 |
| | | | | on_delete for ForeignKey/OneToOneField | ||||
* | Fixed #24971 -- Made startapp generate an apps.py | Mounir Messelmeni | 2015-06-16 | 1 | -0/+8 |
| | |||||
* | Fixed #24950 -- Added unicode_literals to models.py in ↵ | Markus Holtermann | 2015-06-11 | 1 | -1/+8 |
| | | | | | | app template Thanks Tim Graham for the patch | ||||
* | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | 2015-05-20 | 1 | -2/+4 |
| | |||||
* | Fixed #24742 -- Made runserver.check_migrations ignore ↵ | Claude Paroz | 2015-05-13 | 1 | -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 Paroz | 2015-04-04 | 1 | -0/+15 |
| | | | | | | | parsing Thanks Domas Lapinskas for the report and Tim Graham for the review. | ||||
* | Guaranteed removal of temporary files during tests. | Aymeric Augustin | 2015-02-23 | 1 | -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 Graham | 2015-02-18 | 1 | -2/+2 |
| | | | | Django source contains non-ASCII characters. | ||||
* | Prevented some test commands from needlessly running ↵ | Tim Graham | 2015-02-11 | 1 | -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 Graham | 2015-02-06 | 4 | -11/+11 |
| | |||||
* | Removed support for syncing apps without migrations per ↵ | Tim Graham | 2015-01-18 | 1 | -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 Graham | 2015-01-17 | 1 | -3/+1 |
| | |||||
* | Removed BaseCommand.requires_model_validation per ↵ | Tim Graham | 2015-01-17 | 2 | -16/+0 |
| | | | | deprecation timeline. | ||||
* | Removed support for custom SQL per deprecation timeline. | Tim Graham | 2015-01-17 | 1 | -1/+0 |
| | |||||
* | Applied ignore_warnings to Django tests | Claude Paroz | 2014-12-30 | 1 | -6/+5 |
| | |||||
* | Fixed #21255 -- Closed connections after management ↵ | Claude Paroz | 2014-12-29 | 1 | -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 Graham | 2014-12-27 | 1 | -14/+0 |
| | | | | tests. | ||||
* | Replaced sqlall in some bash_completion/admin_scripts tests. | Tim Graham | 2014-12-27 | 1 | -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 Peksag | 2014-11-03 | 1 | -4/+4 |
| | | | | Django test suite. | ||||
* | Refactored color_style() and no_style() to improve ↵ | Loic Bistuer | 2014-10-22 | 1 | -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 Bistuer | 2014-10-22 | 1 | -1/+1 |
| | | | | | | framework. Thanks Tim Graham for the review. | ||||
* | Made testing of stdout and stderr more consistent. | Loic Bistuer | 2014-10-22 | 1 | -32/+27 |
| | | | | Refs #23663. | ||||
* | Fixed #23663 -- Initialize output streams for ↵ | Loic Bistuer | 2014-10-22 | 2 | -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 Bistuer | 2014-10-21 | 1 | -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 Paroz | 2014-09-17 | 1 | -31/+35 |
| | | | | | | error Thanks papaloizouc for the report. | ||||
* | Fixed #23136 -- Added a message when sqlclear does nothing | Gabriel Muñumel | 2014-08-18 | 1 | -1/+9 |
| | |||||
* | Fixed #23276 -- Deprecated passing views as strings to ↵ | Tim Graham | 2014-08-12 | 1 | -1/+2 |
| | | | | url(). | ||||
* | Fixed #23107 -- Made runserver output respect --no-color. | areski | 2014-07-30 | 1 | -0/+1 |
| | |||||
* | Fixed #22835 -- Deprecated NoArgsCommand. | Maxime Turcotte | 2014-06-19 | 6 | -36/+36 |
| | |||||
* | Fixed #7762 -- Hidden full script name in command error ↵ | Claude Paroz | 2014-06-14 | 1 | -0/+8 |
| | | | | output | ||||
* | Restored command error behavior when called from command ↵ | Claude Paroz | 2014-06-14 | 1 | -3/+4 |
| | | | | | | line Refs #19973. | ||||
* | Fixed several flake8 errors | Alex Gaynor | 2014-06-14 | 1 | -3/+3 |
| | |||||
* | Converted remaining management commands to argparse | Claude Paroz | 2014-06-14 | 4 | -26/+19 |
| | |||||
* | Fixed #19973 -- Replaced optparse by argparse in ↵ | Claude Paroz | 2014-06-14 | 2 | -17/+16 |
| | | | | | | management commands Thanks Tim Graham for the review. | ||||
* | Fixed #22477 -- Removed contrib middleware from the ↵ | mlavin | 2014-06-13 | 1 | -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 Augustin | 2014-05-27 | 1 | -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 Paroz | 2014-05-16 | 1 | -6/+6 |
| | | | | | | when command not found Thanks nikolay.v.golub@gmail.com for the report. | ||||
* | Fix many many typos in comments throughout the codebase | Alex Gaynor | 2014-04-26 | 1 | -1/+1 |
| | |||||
* | Fixed #21977 -- Deprecated SimpleTestCase.urls | Anubhav Joshi | 2014-04-06 | 1 | -2/+2 |
| | |||||
* | Fixed #22218 -- Deprecated django.conf.urls.patterns. | Tim Graham | 2014-04-03 | 1 | -6/+5 |
| | | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews. | ||||
* | Fixed test failures on Windows. | Tim Graham | 2014-03-11 | 1 | -1/+1 |
| | | | | refs #21092 and 8d7e048a8b428bebe82be735a84570f9250441e6 |