summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-18Fixed #21118 -- Isolated a test that uses the database.Tim Graham
Thanks rmboggs for the report.
2013-09-18Fixed #4278 -- Added a dirs parameter to a few functions to override ↵Berker Peksag
TEMPLATE_DIRS. * django.template.loader.get_template() * django.template.loader.select_template() * django.shortcuts.render() * django.shortcuts.render_to_response() Thanks amcnabb for the suggestion.
2013-09-18Fixed #15625 -- Made message in MultiValueDictKeyError less verbose.Tim Graham
Thanks margieroginski for the suggestion.
2013-09-18Fixed #12568 -- no error when accessing custom field's descriptorAnssi Kääriäinen
The SubfieldBase's descriptor caused an AttributeError when accessed from the class. Introspection didn't like that. Patch by Trac alias supervacuo.
2013-09-17Fixed #21024 -- Documented how to deprecate a feature.Tim Graham
2013-09-17Fixed #21115 -- Fixed NameError in migrate --list commandMarkus Holtermann
2013-09-17Destroy selenium before live server threads.Florian Apolloner
Ensure that selenium quits before the live server thread to prevent occasional hangs when killing the live server.
2013-09-17Fixed #21114 -- Migrations must not have a dependency to themselves.Markus Holtermann
2013-09-17Final attempt to solve sporadic test failures.Florian Apolloner
tearDownClass is not called if setUpClass throws an exception, in our case this means that LiveServerTestCase leaks LiveServerThread sockets if the test happens to be skipped later on, and AdminSeleniumWebDriverTestCase doesn't close it's already open browser window. To prevent this leakage we catch errors where needed and manually call _tearDownClassInternal. _tearDownClassInternal should be written as defensively as possible since it is not allowed to make any assumptions on how far setUpClass got. This patch should fix the sporadic "Address already in use"-errors on jenkins and also the "This code isn't under transaction management"-error for sqlite (also just on jenkins). After discussion with koniiiik, jezdez, kmtracey, tos9, lifeless, nedbat and voidspace it was decided that this is the safest approach (thanks to everyone for their comments and help). Manually calling tearDownClass was shut down cause we don't know how our users override our classes. This is a private and very specialized API on purpose and should not be used without a strong reason! This patch partially reverts the earlier attempts to fix those issues, namely: 2fa0dd73b18f55d0fdd1c1d54b1d18031bfcf1ed and 3c5775d36f7e431d9691829a78580873111cb714 Final note: If this patch breaks in a later version of Django, please be very careful on how you fix it, you might not see test failures locally. That said, this patch hopefully doesn't produce even more failures.
2013-09-17Added Arabic mapping to contrib/admin/static/admin/js/urlify.jsBeshr Kayali
2013-09-17Fixed #21112 -- Make sure sitemaps with no lastmod date work correctly.Simon Charette
Thanks to Matthias Kestenholz for the report and patch.
2013-09-17Fixed #21109 -- made db cursor error wrapping fasterAnssi Kääriäinen
2013-09-17Updated examples in the docs after eade315d.Aymeric Augustin
2013-09-16Reworded a paragraph in the logging docs.Ramiro Morales
2013-09-16Fixed test failures introduced in previous commit.Tim Graham
2013-09-16Added backwards compatability shims for util modules.Tim Graham
refs #17627
2013-09-16Fixed #17627 -- Renamed util.py files to utils.pyTim Graham
Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch.
2013-09-15Cleaned up 1.5.4/1.4.8 release notesTim Graham
2013-09-15Ensure that passwords are never long enough for a DoS.Russell Keith-Magee
* Limit the password length to 4096 bytes * Password hashers will raise a ValueError * django.contrib.auth forms will fail validation * Document in release notes that this is a backwards incompatible change Thanks to Josh Wright for the report, and Donald Stufft for the patch. This is a security fix; disclosure to follow shortly.
2013-09-15Fixed a timing edge case in the RelatedFieldWidgetSeleniumFirefoxTests.Florian Apolloner
By settings an implicit wait timeout for the find_* methods we can wait till the javascript code add the new option to the DOM. See http://ci.djangoproject.com/job/Django/database=mysql_gis,python=python3.3/3174/testReport/junit/admin_widgets.tests/RelatedFieldWidgetSeleniumFirefoxTests/test_foreign_key_using_to_field/ Stacktrace: Traceback (most recent call last): File "/var/lib/jenkins/jobs/Django/workspace/database/mysql_gis/python/python3.3/tests/admin_widgets/tests.py", line 1060, in test_foreign_key_using_to_field self.assertEqual(username_value, new_option.get_attribute('value')) AssertionError: 'newuser' != 'testser' - newuser + testser
2013-09-14Fixed error handling in 3c5775d36f7e431d9691829a78580873111cb714 for ↵Florian Apolloner
non-operational webdrivers.
2013-09-14Delayed initialization of Selenium webdrivers.Florian Apolloner
If setUpClass throws an exception (in this case "Address already in use" if the super call can't find any open port to bind too) tearDownClass is not called. This results in open browser windows from the webdriver, hence we only construct it once we are sure there is no code afterwards which could error out.
2013-09-14REmoved some unused importsAlex Gaynor
2013-09-14Merge branch 'master' of https://github.com/django/djangoAlex Gaynor
2013-09-14Removed an import * that was masking importing stuff from the wrong locationAlex Gaynor
2013-09-14Fixed #20950 -- Instantiate OrderedDict() only when neededAnssi Kääriäinen
The use of OrderedDict (even an empty one) was surprisingly slow. By initializing OrderedDict only when needed it is possible to save non-trivial amount of computing time (Model.save() is around 30% faster for example). This commit targetted sql.Query only, there are likely other places which could use similar optimizations.
2013-09-14Revert "Fixed #12288 -- Validated that app names in INSTALLED_APPS are unique"Tim Graham
This reverts commit c1ec08998d1b690855d5e69a1f4d9d2f01d44ae6. There are backwards compatability concerns with this.
2013-09-14Added tests for double-pickling a QuerySetAnssi Kääriäinen
Refs #21102.
2013-09-14Fixed #21097 - Added DatabaseFeature.can_introspect_autofieldMichael Manfre
2013-09-13Fixed #21060 -- Refactored admin's autodiscover method to make it reusable.Juan Catalano
We want to be able to use it for instance for discovering `tasks.py` modules inside the INSTALLED_APPS. This commit therefore moves the logic to `autodiscover_modules` method in django.utils.module_loading.
2013-09-13Fixed #21101 -- Updated urlize documentation to mention email addressesGoetz
2013-09-13Fixed #21100 -- Noted that Create/UpdateViews.fields is new in 1.6Tim Graham
Thanks AndrewIngram for the suggestion.
2013-09-13Fixed #21094 -- Updated reuseable apps tutorial to use pip for installation.Tim Graham
Thanks ylb415 at gmail.com for the suggestion.
2013-09-13Documentation -- added instructions on working with pull requestsKevin Christopher Henry
Since non-core contributors are asked to review patches, instructions on working with pull requests were added to the Working with Git and GitHub page (based on the existing instructions in the core committers page).
2013-09-13Fixed #12288 -- Validated that app names in INSTALLED_APPS are uniquee0ne
2013-09-13Fixed #20844 -- Made AdminEmailHandler respect LOGGING 'formatter' setting.Daniel Sokolowski
2013-09-13Fixed #21095 -- Documented new requirement for dates lookups.Matt Austin
Day, month, and week_day lookups now require time zone definitions in the database.
2013-09-12Fixed a couple of typos in GeoDjango docs.Ramiro Morales
2013-09-12Merge pull request #1622 from manfre/ticket-21099Claude Paroz
Fixed #21099 - Skip DistinctOnTests unless backend can_distinct_on_field...
2013-09-12Fixed #21099 - Skip DistinctOnTests unless backend can_distinct_on_fieldsMichael Manfre
2013-09-12Fixed inspectdb test for spatialite >=4Claude Paroz
2013-09-12Add a test for the geo-enabled inspectdb commandClaude Paroz
2013-09-11Merge pull request #1618 from pcx/minor_typo_fixSimon Charette
Minor typo fix in django.contrib.auth.models.User docs
2013-09-12Minor typo fix in django.contrib.auth.models.User docsPhaneendra Chiruvella
2013-09-11Fixed #21090 -- Allowed backends to provide dotted field path to inspectdb.Michael Manfre
2013-09-11Fixed #21089 -- Allow TransactionTestcase subclasses to define an empty list ↵Baptiste Mispelon
of fixtures. Thanks to lgs for the report and initial patch.
2013-09-11Fixed #21056 -- AdminSite.app_index no longer blindly accepts any ↵Keryn Knight
app-labelish input.
2013-09-11Fixed #20887 -- Added a warning to GzipMiddleware in light of BREACH.Tim Graham
Thanks EvilDMP for the report and Russell Keith-Magee for the draft text.
2013-09-11Documentation -- Improved description of cache argumentsKevin Christopher Henry
- Fixed some grammar and formatting mistakes - Added the type and default for CULL_FREQUENCY - Made the note on culling the entire cache more precise. (It's actually slower on the filesystem backend.)
2013-09-10Added 1.4.7/1.5.3 release notesTim Graham