summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-05Fixed #15926 -- Added option --no-initial-data to syncdb and flush.Honza Kral
Thanks msiedlarek, jpaugh64 and vlinhart!
2012-06-05Merge pull request #112 from bohyn/masterHonza Král
Django Admin's input for BigIntegerField should be larger, Fixes #17804
2012-06-05Merge branch 'master' of https://github.com/django/djangomartin.bohacek
2012-06-05Ticket #17804 fix.martin.bohacek
2012-06-04Noted that SECURE_PROXY_SSL_HEADER is needed by CSRF protection.Luke Plant
Both false positives and false negatives of HttpRequest.is_secure can be dangerous.
2012-06-04Rewrote security.txt SSL docs, noting SECURE_PROXY_SSL_HEADER.Luke Plant
2012-06-04Merge pull request #99 from danielroseman/masterAdrian Holovaty
Docs: "Form in a view" example doesn't use RequestContext
2012-06-04Used skipUnless decorator to skip tests in geos tests.Claude Paroz
2012-06-03Fixed #17138 -- Made the sensitive_variables decorator work with object methods.Julien Phalip
2012-06-03Merge pull request #104 from samuraisam/17138-html5-remove-summaryJulien Phalip
Fixed #17138 -- Removed the 'summary' attribute from the admin index tables to be html5-valid.
2012-06-03Changed FilePathField tests to use it's own directory with test files.Honza Kral
In previous version it used /django/forms/ which was fragile - for some users .pyc files were not generated and this tests failed.
2012-06-03Unittest2 style assertTrue instead of assert_Honza Kral
2012-06-03Fixed incorrect assert in test_filepathfield_foldersHonza Kral
2012-06-03Remove the summary attribute of the tableSamuel Sutch
In the discussion here: https://code.djangoproject.com/ticket/17138 it was decided that using the caption for this previously non-visible part of the table element was not semantic, so in this patch is moves that summary to the `title` attribute of the `a` tag which when overed over, on most browsers, will show the text.
2012-06-02Fixed #14478 -- Isolated messages tests from custom TEMPLATE_CONTEXT_PROCESSORSClaude Paroz
2012-06-02Made sitemaps tests use override_settings. Refs #14478Claude Paroz
2012-06-02Fixed override_settings usage in test_client_regressClaude Paroz
2012-06-02Fixed settings override in mail regression testsClaude Paroz
self.settings_override from test subclasses were overwriting parent attribute.
2012-06-02Fixed #18259 -- Specified that ROOT_URLCONF might be needed.Claude Paroz
When using the template system in standalone mode and if the url template tag is used, ROOT_URLCONF has to be defined. Thanks techtonik for the report.
2012-06-01Removed debugging code added in last commit.Ramiro Morales
2012-06-01Made inspectdb tests deal with a smaller generated models.py file.Ramiro Morales
Implemented this by adding a stealth table_name_filter option for the command.
2012-06-01Fixed a typo in a comment. Refs #17742.Aymeric Augustin
2012-05-31Merge pull request #101 from jphalip/tickets/18409-regexfield-unicodeJulien Phalip
Fixed #18409 -- Made RegexField work with unicode characters.
2012-05-31Fixed #18409 -- Made RegexField work with unicode characters.Julien Phalip
2012-05-31Fixed #18408 -- Isolated flatpages tests from existing sites.Jens Page
Resolves Flatpages test issues by: - Creating an example_site fixture - Overriding project SITE_ID setting to 1 - Normalizing the use of the hardcoded (1) site_id to settings.SITE_ID
2012-05-31Cleaned up test_client_regress testsClaude Paroz
2012-05-31Moved test_client_regress tests from models.py to tests.pyClaude Paroz
2012-05-31Fixed #18407 -- Made model field's to_python methods fully accept unicode.Claude Paroz
When generating error message in to_python, any unicode string containing non-ascii characters triggered a UnicodeEncodeError for most field types.
2012-05-31Use render shortcut in form example.Daniel Roseman
2012-05-31Rewrote test_error_messages with helper test utility.Claude Paroz
2012-05-31Fixed #14681 -- Do not set mode to None on file-like objects.Claude Paroz
gzip.GzipFile does not support files with mode set to None.
2012-05-29Merge pull request #94 from jphalip/tickets/18393-blocktrans-valueerrorJulien Phalip
Fixed #18393 -- Prevented blocktrans to crash when a variable name is badly formatted.
2012-05-28Removed unneeded smart_str in cache utils.Claude Paroz
2012-05-28Fixed #18393 -- Prevented blocktrans to crash when a variable name is badly ↵Julien Phalip
formatted.
2012-05-28Used call_command stdout parameter to capture output in staticfiles tests.Claude Paroz
2012-05-28Removed numbering of GEOS tests.Claude Paroz
2012-05-27Used call_command in i18n compilation tests.Claude Paroz
Now that call_command does not raise SystemExit any more, we can use call_command again for testing compilemessages.
2012-05-27Used CommandError in createcachetable command.Claude Paroz
Raising CommandError whenever a management command meets an error condition is the standard way to handle errors in commands.
2012-05-27Fixed #18387 -- Do not call sys.exit during call_command.Claude Paroz
Moved sys.exit(1) so as failing management commands reach it only when running from command line.
2012-05-27Fixed #18135 -- Close connection used for db version checkingMichael Newman
On MySQL when checking the server version, a new connection could be created but never closed. This could result in open connections on server startup.
2012-05-27Fixed #18343 -- Cleaned up deferred model implementationAnssi Kääriäinen
Generic cleanup and dead code removal in deferred model field loading and model.__reduce__(). Also fixed an issue where if an inherited model with a parent field chain parent_ptr_id -> id would be deferred loaded, then accessing the id field caused caused a database query, even if the id field's value is already loaded in the parent_ptr_id field.
2012-05-26Removed a duplicate test in fixtures_regress.Claude Paroz
test_abort_loaddata_on_error was exactly the same test as test_empty (error is tested in test_error_message).
2012-05-26Added entry in 1.5 release notes about dumpdata improvements.Claude Paroz
2012-05-26Removed unneeded sys import added in previous commitClaude Paroz
2012-05-26Fixed #5423 -- Made dumpdata output one row at a time.Claude Paroz
This should prevent storing all rows in memory when big sets of data are dumped. See ticket for heroic contributors.
2012-05-26Updated WMS URL in geoadmin test.Claude Paroz
2012-05-25Fixed #17929 -- Improved tutorial wording and capitalization.Claude Paroz
Thanks rmattb for the report and the patch.
2012-05-25Fixed #14886 -- Added wms_options dict to GeoModelAdmin.Claude Paroz
It is now possible to set WMS options by overriding wms_options in a subclass of GeoModelAdmin. Thanks slinkp for the report and the initial patch.
2012-05-25Specified when open should use binary mode.Claude Paroz
Thanks Vinaj Sajip for the help of his django3 branch.
2012-05-25Fixed #17371 -- Made the test client more flexibleAymeric Augustin
The OPTIONS, PUT and DELETE methods no longer apply arbitrary data encoding (in the query string or in the request body).