summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-05Updated references to the TEST_* database settings.Aymeric Augustin
They were removed in Django 1.9. I could leave the reference to TEST_DEPENDENCIES in the 1.2.4 release notes because the link points to the right location and the name was accurate at the time.
2015-09-05Removed some discussion of deprecated {% url %} behavior.Tim Graham
2015-09-05Refs #24235 -- Removed unused is_usable attribute from base template Loader.Tim Graham
2015-09-05Fixed #25355 -- Made two tweaks to docs/topics/db/aggregation.txt.Maarten
2015-09-05Cleaned up docstrings in csrf_tests/tests.py.Joshua Kehn
2015-09-05Fixed #25334 -- Provided a way to allow cross-origin unsafe requests over HTTPS.Joshua Kehn
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.
2015-09-05Added default value for default kwargs for QueryDict.David Sanders
2015-09-05Fixed #24525 -- Fixed AssertionError in some complex queries.Tim Graham
Thanks Anssi Kääriäinen for providing the solution.
2015-09-04Fixed #25297 -- Allowed makemessages to work with {% trans %} tags that use ↵Alexandre Pocquet
template filters.
2015-09-04Added links to new security settings introduced in 1.8.David Sanders
2015-09-04Fixed #25353 -- Changed LogEntry.action_time to a "date created".Tim Graham
2015-09-04Refs #25144 -- Revised deprecation timeline: migrations won't become compulsory.Tim Graham
2015-09-04Fixed #25144 -- Allowed migrate to create tables for apps without migrations.Tim Graham
2015-09-04Fixed #25099 -- Fixed crash in AdminEmailHandler on DisallowedHost.Vlastimil Zíma
2015-09-04Removed unused CSS in contrib.admin.elky
The corresponding HTML was removed in 738d9af1e8e38b0289b7dfa7c8a5413f5d0e20d1.
2015-09-04Fixed #25348 -- Removed unused gif/png images from contrib.admin.elky
2015-09-04Fixed GeoIP test crash when dependencies not installed.Tim Graham
2015-09-04Refs #25345 -- Updated links to code.google.com.Maxime Lorant
2015-09-04Updated static files howto title to include JavaScript.David Gibbons
2015-09-04Fixed #19263 -- Fixed crash when filtering using __in and an empty QuerySet.Tim Graham
Thanks Marcin Biernat for the initial patch and tests.
2015-09-03Documented a limitation of Options.required_db_features.Tim Graham
2015-09-03Fixed #25326 -- Added namedtuple example for executing custom SQL.Dražen Odobašić
2015-09-03Fixed #25058 -- Added GenericRelations with related_query_name to the ↵sarthakmeh
admin's delete confirmation page.
2015-09-03Moved misplaced versionadded annotation.Tim Graham
2015-09-03Removed some test settings following removal of compatibility checks.Tim Graham
2015-09-03Fixed #25335 -- Fixed regression where QuerySet.iterator() didn't return an ↵Gavin Wahl
iterator.
2015-09-02Refs #24152 -- Fixed typos in deprecated GeoQuerySet aggregate names.Tim Graham
2015-09-02Fixed #25246 -- Guarded against duplicate paths in AppConfig.Caio Ariede
2015-09-02Added linting for JavaScript tests.Nik Nyby
2015-09-01Removed obsolete TODO about moving CommaSeparatedIntegerField into contrib.Tim Graham
2015-09-01Fixed #25320 -- Reverted ManyToManyField.null to False for backwards ↵Tim Graham
compatibility. Thanks Tom Christie for the report and review.
2015-08-31Rewrote form widget tests as proper unittests.Preston Timmons
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.
2015-08-31Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant
2015-08-31Refs #24121 -- Added a repr() to gis.GeoIP and gis.GeoIP2.Keryn Knight
2015-08-31Refs #24121 -- Added repr() to LazySettings, Settings, and UserSettingsHolder.Keryn Knight
2015-08-31Fixed #25289 -- Updated admin's jQuery to 2.1.4.Tim Graham
2015-08-31Removed unnecessary DBCacheTests.test_clear_commits_transaction test.Adam Chainz
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.
2015-08-31Cleaned up example migration files in docsTyson Clugg
2015-08-31Fixed #25259 -- Added comments to header of generated migration filesTyson Clugg
2015-08-31Fixed #25324 -- Registered ModelAdmin instances with @admin.register decoratorY3K
2015-08-31Fixed #25252 -- Added friendly error message on incorrect .select_related() useY3K
Using select_related() after .values() or .values_list() is not possible because .values() or .values_list() already got the values they need.
2015-08-31Clarified 404.html usage, excplicitly stated that it's used when DEBUG is FalseDavid Sanders
Thanks to Keryn Knight, Curtis Maloney and Tim Graham for their reviews.
2015-08-29Made the autoreloader survive all exceptions.Aymeric Augustin
Refs #24704.
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-29Ensured gen_filenames() yields native strings.Aymeric Augustin
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.
2015-08-29Refactored autoreload tests.Aymeric Augustin
* 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.
2015-08-29Accounted for error files in the autoreloader.Aymeric Augustin
* 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.
2015-08-29Fixed #25262 -- Removed the enable_comments field from FlatPageAdmin.Y3K
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 #25323 -- Fixed selenium test failures with chromedriver 2.18.Tim Graham