summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #29695 -- Added system checks for admin's app dependencies and ↵Rodrigo2018-08-201-1/+20
| | | | TEMPLATES setting.
* Fixed #29236 -- Fixed diffsettings crash if using settings.configure().Hasan Ramezani2018-08-202-4/+20
|
* Reverted "Fixed #29324 -- Made Settings raise ImproperlyConfigured if ↵Tim Graham2018-05-261-11/+2
| | | | | | | SECRET_KEY is accessed and not set." This reverts commit b3cffde5559c4fa97625512d7ec41a674be26076 due to a regression and performance concerns.
* Fixed #29324 -- Made Settings raise ImproperlyConfigured if SECRET_KEY is ↵Jon Dufresne2018-04-171-2/+11
| | | | accessed and not set.
* Fixed #29301 -- Made management command --help display command-specific ↵David Foster2018-04-111-0/+7
| | | | arguments before common arguments.
* Fixed #28398 -- Added suggestions for mistyped management commands.Tom Forbes2018-02-211-0/+20
|
* Refs #23919 -- Removed obsolete __init__.py files in management command ↵я котик пур-пур2018-01-036-0/+0
| | | | directories.
* Fixed #28594 -- Removed Jython docs and specific codeClaude Paroz2017-12-231-14/+2
| | | | Thanks Andrey Martyanov for the reporti, and Tim Graham for the review.
* Moved unnecessary inner imports in admin_scripts tests.Tim Graham2017-12-201-7/+8
|
* Fixed #28941 -- Fixed crash in testserver command startup.Tim Graham2017-12-201-1/+28
| | | | Regression in 2b09e4c88e96cb03b29f5a6b0e4838ab4271e631.
* Fixed #28791 -- Allowed commands that don't require settings to work if the ↵geekodour2017-12-071-0/+10
| | | | DJANGO_SETTINGS_MODULE doesn't exist.
* Fixed #28708 -- Added constants to detect the Python version.Tim Graham2017-10-131-1/+1
|
* Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham2017-09-071-3/+6
| | | | This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
* Fixed #28524 -- Fixed program name in management commands when using 'python ↵Nick Pope2017-08-311-0/+4
| | | | -m django'.
* Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen2017-06-281-6/+3
|
* Fixed #27858 -- Prevented read-only management commands from creating the ↵Marti Raudsepp2017-06-191-8/+4
| | | | | | | | | django_migrations table. MigrationRecorder now assumes that if the django_migrations table doesn't exist, then no migrations are applied. Reverted documentation change from refs #23808.
* Improved test coverage for startapp/startproject management commands.Adam Johnson2017-05-301-0/+56
|
* Fixed #27881 -- Added diffsettings --output option.Chris Lamb2017-05-271-0/+26
| | | | Thanks Haris Ibrahim K. V. for writng docs.
* Fixed db backend discovery in admin_scripts tests.Florian Apolloner2017-05-101-4/+3
| | | Not all backends have dots in them.
* Fixed spelling of "nonexistent".Tim Graham2017-02-031-3/+1
|
* Refs #27537 -- Added default_addr(_ipv6) attributes to runserver command.Ed Morley2017-01-271-0/+12
|
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-252-3/+3
|
* Removed unneeded force_text calls in the test suiteClaude Paroz2017-01-241-4/+1
|
* Refs #23919 -- Removed misc references to Python 2.Tim Graham2017-01-211-3/+0
|
* Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham2017-01-201-1/+2
|
* Refs #23919 -- Removed unneeded str() callsClaude Paroz2017-01-201-4/+3
|
* Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham2017-01-202-8/+6
| | | These functions do nothing on Python 3.
* Refs #23919 -- Removed unneeded force_str callsClaude Paroz2017-01-201-1/+1
|
* Refs #23919 -- Removed most of remaining six usageClaude Paroz2017-01-181-1/+1
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz2017-01-181-14/+6
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-187-35/+1
|
* Fixed #27626 -- Moved MEDIA_URL/STATIC_URL validation to a system check.Adam Chainz2016-12-231-1/+5
|
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-3/+3
|
* Fixed #27438 -- Added the diffsettings --default option.Paweł Marczewski2016-11-101-0/+14
|
* Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham2016-09-171-3/+3
| | | | http://bugs.python.org/issue27364
* Refs #27025 -- Fixed tests for the new ModuleNotFoundError in Python 3.6.Tim Graham2016-09-161-1/+2
| | | | http://bugs.python.org/issue15767
* Fixed #27171 -- Added unicode_literals and coding preamble to all files in ↵Ivan2016-09-031-1/+10
| | | | startapp template on Python 2.
* Fixed #26791 -- Replaced LiveServerTestCase port ranges with binding to port 0.Tim Graham2016-06-231-41/+0
|
* Fixed E128 flake8 warnings in tests/.Tim Graham2016-04-082-27/+43
|
* Fixed #26315 -- Allowed call_command() to accept a Command object as the ↵Jon Dufresne2016-03-051-19/+19
| | | | first argument.
* Cleaned up tests to use call_command() instead of Command.execute().Jon Dufresne2016-03-051-7/+2
|
* Fixed #25304 -- Allowed management commands to check if migrations are applied.Mounir Messelmeni2016-02-121-1/+1
|
* Removed unneeded hint=None/obj=None in system check messages.Tim Graham2016-02-122-21/+4
|
* Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix.Chris Lamb2016-01-252-1/+1
| | | | | | | | | | | Debian packages unconditionally byte-compile .py files on installation and do not silence errors by design. Therefore, we need a way of shipping these invalid .py files without a .py extension but ensuring that when we template them, they end up as .py. We don't special-case .py files so that the all the TemplateCommand command-line options (eg. extra_files and extensions) still work entirely as expected and it may even be useful for other formats too.
* Fixed #25855 -- Enhanced the migration warning for runserver.Emre Yilmaz2015-12-219-1/+93
| | | | Added unapplied migration count and the list of unmigrated apps.
* Fixed #25909 -- Added unicode_literals import to apps.py generated by startapp.Tim Graham2015-12-121-4/+4
|
* Refs #25589 -- Fixed admin_scripts test failure on Windows.Tim Graham2015-10-221-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 with Unicode ↵Yoong Kang Lim2015-10-221-3/+27
| | | | 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
|