summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-09-09Allowed a port range for the liveserver by default.Aymeric Augustin
This is required for running tests in parallel.
2015-09-09Fixed #25372 -- Fixed autocompletion for options of non-argparse commands.Daniel Hahler
2015-09-08Fixed #25350 -- Added alias --no-input for --noinput to management commands.Raphael Michel
2015-09-04Fixed #25144 -- Allowed migrate to create tables for apps without migrations.Tim Graham
2015-08-31Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant
2015-08-29Fixed #24704 -- Made the autoreloader survive SyntaxErrors.Aymeric Augustin
With this change, it's expected to survive anything except errors that make it impossible to import the settings. It's too complex to fallback to a sensible behavior with a broken settings module. Harcoding things about runserver in ManagementUtility.execute is atrocious but it's the only way out of the chicken'n'egg problem: the current implementation of the autoreloader primarily watches imported Python modules -- and then a few other things that were bolted on top of this design -- but we want it to kick in even if the project contains import-time errors and django.setup() fails. At some point we should throw away this code and replace it by an off-the-shelf autoreloader that watches the working directory and re-runs `django-admin runserver` whenever something changes.
2015-08-28Fixed #17375 -- Changed makemessages to use xgettext with --files-fromSergey Kolosov
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.
2015-08-28Fixed #25318 -- Made SILENCED_SYSTEM_CHECKS suppress all messages.Tim Graham
Previously, messages of ERROR level or higher were printed to the console.
2015-08-28Fixed #25322 -- Lazily compiled core.validators regular expressions.Jonas Haag
This speeds up import of 'django.core.validators' which can save a few hundred milliseconds when importing the module for the first time. It can be a significant speedup to the django-admin command.
2015-08-24Fixed #25047 -- Improved "Conflicting migrations" error message.Tim Graham
2015-08-19Fixed #25285 -- Provided unknown command message with plain django-admin.pyClaude Paroz
Thanks Maxime Lorant for the report and Tim Graham for suggesting the improved comment.
2015-08-18Fixed #24755 -- Hid operations from dependency apps when merging migrationsMarkus Holtermann
Thanks Carl Meyer for the report and Tim Graham for the review.
2015-08-07Fixed #25231 -- Added recording of squashed migrations in the migrate command.mlavin
Ensured squashed migrations are recorded as applied when the migrate command is run and all of the original migrations have been previously applied.
2015-08-01Fixed #25204 -- Added missing space in runserver logging.Tim Graham
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-07-25Fixed #24623 -- Fixed EmailMessage.attach_file() with text files on Python 3.Konrad Świat
Thanks tkrapp for the report and Tim Graham for the review.
2015-07-24Fixed #22258 -- Added progress status for dumpdata when outputting to fileClaude Paroz
Thanks Gwildor Sok for the report and Tim Graham for the review.
2015-07-21Fixed #25155 -- Removed an inner class in core.management.color for PyPy ↵Tim Graham
performance.
2015-07-20Replaced six.BytesIO with io.BytesIOTim Graham
2015-07-17Fixed #16501 -- Added an allow_unicode parameter to SlugField.Edward Henderson
Thanks Flavio Curella and Berker Peksag for the initial patch.
2015-07-15Fixed #24966 -- Added deployment system check for empty ALLOWED_HOSTS.rroskam
2015-07-14Fixed #24716 -- Deprecated Field._get_val_from_obj()Thomas Stephenson
The method duplicates the functionality of Field.value_from_object() and has the additional downside of being a privately named public API method.
2015-07-14Fixed #25123 -- Corrected makemessages --extension help textCesar Canassa
2015-07-13Fixed #25079 -- Added warning if both TEMPLATES and TEMPLATE_* settings are ↵Daniel Roseman
defined. Django ignores the value of the TEMPLATE_* settings if TEMPLATES is also set, which is confusing for users following older tutorials. This change adds a system check that warns if any of the TEMPLATE_* settings have changed from their defaults but the TEMPLATES dict is also non-empty. Removed the TEMPLATE_DIRS from the test settings file; this was marked for removal in 1.10 but no tests fail if it is removed now.
2015-07-13Fixed #24375 -- Added Migration.initial attributeAndrei Kulakov
The new attribute is checked when the `migrate --fake-initial` option is used. initial will be set to True for all initial migrations (this is particularly useful when initial migrations are split) as well as for squashed migrations.
2015-07-08Fixed catastrophic backtracking in URLValidator.Shai Berger
Thanks João Silva for reporting the problem and Tim Graham for finding the problematic RE and for review. This is a security fix; disclosure to follow shortly.
2015-07-08Prevented newlines from being accepted in some validators.Tim Graham
This is a security fix; disclosure to follow shortly. Thanks to Sjoerd Job Postmus for the report and draft patch.
2015-07-07Fixed #22804 -- Added warning for unsafe value of 'sep' in SignerDavid Wolever
Thanks Jaap Roes for completing the patch.
2015-07-06Fixed #25059 -- Allowed Punycode TLDs in URLValidatorAlexey Sveshnikov
2015-07-06Updated Memcached get_backend_timeout() comment.Karol Duleba
2015-07-03Fixed #24877 -- Added middleware handling of response.render() errors.Sylvain Fankhauser
2015-07-03Fixed #23190 -- Made Paginator.page_range an iteratorRigel Di Scala
2015-07-02Fixed #25050 -- Allowed serialization of models with deferred fields.Grégoire ROCHER
2015-06-27Sorted imports in __init__.py files.Tim Graham
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-06-24Reordered import in JSON serializerClaude Paroz
2015-06-24Fixed #25019 -- Added UUID support in DjangoJSONEncoderLukas Hetzenecker
2015-06-22Fixed #24970 -- Added --managers and --admins options to the sendtestemail ↵Rolo
management command.
2015-06-20Fixed #14200 -- Added a fallback if HttpRequest.urlconf is None.Marten Kenbeek
Made BaseHandler fall back to settings.ROOT_URLCONF if HttpRequest.urlconf is set to None, rather than raising ImproperlyConfigured.
2015-06-19Fixed #20197 -- Made XML serializer fail loudly when outputting ↵Claude Paroz
unserializable chars Thanks Tim Graham for the review.
2015-06-18Removed support for Python 3.3.Tim Graham
2015-06-17Fixed #24829 -- Allowed use of TemplateResponse in view error handlers.ana-balica
2015-06-16Fixed #24971 -- Made startapp generate an apps.pyMounir Messelmeni
2015-06-15Fixed #24979 -- Removed usage of inspect.getargspec().Tim Graham
2015-06-15Removed django.utils.functional.total_ordering()Tim Graham
2015-06-13Fixed #24978 -- Escaped special characters in loaddata fixture pathsMoritz Sichert
2015-06-12Fixed #24963 -- Added File.seekable() on Python 3.Carson Gee
2015-06-11Fixed #24950 -- Added unicode_literals to models.py in app templateMarkus Holtermann
Thanks Tim Graham for the patch
2015-06-10Merge pull request #4811 from mthornhill/12685Russell Keith-Magee
Fixed #12685 - Ensure that deserialised model instances honor the same arguments as normal models.