summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-30Improved {% include %} implementationCurtis Maloney
Merged BaseIncludeNode, ConstantIncludeNode and Include node. This avoids raising TemplateDoesNotExist at parsing time, allows recursion when passing a literal template name, and should make TEMPLATE_DEBUG behavior consistant. Thanks loic84 for help with the tests. Fixed #3544, fixed #12064, fixed #16147
2013-08-30Fixed #20988 -- Added model meta option select_on_saveAnssi Kääriäinen
The option can be used to force pre 1.6 style SELECT on save behaviour. This is needed in case the database returns zero updated rows even if there is a matching row in the DB. One such case is PostgreSQL update trigger that returns NULL. Reviewed by Tim Graham. Refs #16649
2013-08-30Removed stale add_q() commentAnssi Kääriäinen
2013-08-29Altered test introduced in f19a3669b8 for the sake of readability. refs #14786Simon Charette
2013-08-29Added SplitHiddenDateTimeWidget to django.forms.widgets.__all__Tomer Chachamu
2013-08-29Fixed #20997 -- Added SessionStore note to docs.Tim Graham
Thanks jsdalton.
2013-08-29Added links to file docs.Jorge C. Leitão
2013-08-29Fixed #20989 -- Removed explicit list comprehension inside dict() and tuple()Tim Graham
Thanks jeroen.pulles at redslider.net for the suggestion and helper script.
2013-08-29Fixed #14786 -- Fixed get_db_prep_lookup calling get_prep_value twice if ↵Tim Graham
prepared is False. Thanks homm for the report and Aramgutang and lrekucki for work on the patch.
2013-08-29Fixed #16433 -- Fixed a help_text/read only field interaction that caused an ↵Tim Graham
admin crash. Thanks chris at cogdon.org for the report and admackin for the patch.
2013-08-29Fixed #20881 -- Removed contrib.auth.models.AbstractUser.get_absolute_url()Tim Graham
The definition is arbitrary and creates a broken "view on site" link in the admin if a project doesn't define such a URL.
2013-08-29Fixed #7116 -- Optimize RequestContext constructionCurtis Maloney
2013-08-29Fixed #17356 -- Allowed {% include %} to render compiled templatesCurtis Maloney
Reviewed by Loic Bistuer and Tim Graham.
2013-08-29Fixed #20984 -- Stopped decoding bytes in sqlite3 adapter on Python 3Claude Paroz
Thanks lvella at gmail.com for the report.
2013-08-28Fixed #20983 -- Updated package classifiers in reuseable apps tutorial.Tim Graham
Thanks Cloudream for the report.
2013-08-28Fixed #14765 -- Removed unncessary usage of NodeList in ForNode.Tim Graham
Thanks traff and FunkyBob for work on the patch.
2013-08-28Fixed #20986 -- Enabled SelectDateWidget to use custom monthsLoic Bistuer
Reviewed by Trac alias MarkusH.
2013-08-28Fixed #18171 -- Checked signature of authenticate() to avoid supressing ↵Michał Górny
TypeErrors. The current auth backend code catches TypeError to detect backends that do not support specified argumetnts. As a result, any TypeErrors raised within the actual backend code are silenced. In Python 2.7+ and 3.2+ this can be avoided by using inspect.getcallargs(). With this method, we can test whether arguments match the signature without actually calling the function. Thanks David Eyk for the report.
2013-08-28Merge pull request #1524 from pcx/masterMarc Tamlyn
Minor spelling correction in ModelForms docs
2013-08-28Minor spelling correction in ModelForms docsPhaneendra Chiruvella
2013-08-27Fixed #20981 -- Noted the default value of disable_existing_loggers.Krzysztof Jurewicz
2013-08-27Organized 1.7 minor features into subsections.Tim Graham
2013-08-27Updated instructions for running contrib tests.Matt Robenolt
2013-08-27Fixed #20976 -- Fixed labels in migration docs.Tim Graham
Thanks chrismedrela for the report.
2013-08-27Merge pull request #1513 from jboecker/typoMarc Tamlyn
Fixed typo in docs/topics/conditional-view-processing.txt
2013-08-26Fixed #20693 -- Add timezone support to built-in time filter.Warren Smith
Modified django.utils.dateformat module, moving __init__() method and timezone-related format methods from DateFormat class to TimeFormat base class. Modified timezone-related format methods to return an empty string when timezone is inappropriate for input value.
2013-08-26Fixed #20972 -- Make messages cookie follow session cookie secure/httponlyErik Romijn
2013-08-26Added further fixes, tests for #19949/f33db5a09a.Ramiro Morales
Thanks Susan Tan. Refs #19949.
2013-08-26Fixed typo in docs/topics/conditional-view-processing.txtJan Böcker
2013-08-25Made coverage ignore files without associated source code.Ramiro Morales
This only affests reporting not data collection and allows coverage.py to succesfully finish the generation of e.g. the HTML report. Cases of code whose execution data is collected during the run phase but for which no associated source code files can be found at the reporting phase include tests with egg files and Python module files created at test execution-time.
2013-08-25Ignore coverage HTML report output dir in tests.Ramiro Morales
Added it to the list of dirs ignored by tests/runtests.py.
2013-08-24Fixed #20814 -- Improved model field accessor clash error messagesChristopher Medrela
Thanks shai for the suggestion.
2013-08-24Fixed #20961 -- Fixed HttpResponse default empty contentClaude Paroz
Thanks epandurski at gmail.com for the report.
2013-08-24Fixed 19949 -- Cached template loader now caches TemplateDoesNotExistSusanTan
Thanks @timgraham and @jdunck for the code reviews and Kronuz for bug report and initial patch.
2013-08-23Python 3 compat fix for callable()Andrew Godwin
2013-08-23Fix location of tablespace clauses in schema backend column SQLAndrew Godwin
2013-08-23Removed usage of u"" string prefix, which doesn't work on python3.2Alex Gaynor
2013-08-23Merge pull request #376 from andrewgodwin/schema-alterationMarc Tamlyn
Schema alteration
2013-08-23Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/db/backends/oracle/base.py django/db/backends/postgresql_psycopg2/base.py django/db/models/signals.py tests/queries/tests.py
2013-08-23Fix Oracle's default handling and schema-prepared-statement issueAndrew Godwin
2013-08-23Fix some small errors in the testsAndrew Godwin
2013-08-22Typos introduced in 297f5af222.Ramiro Morales
2013-08-22Fixed #20922 -- Allowed customizing the serializer used by contrib.sessionsTim Graham
Added settings.SESSION_SERIALIZER which is the import path of a serializer to use for sessions. Thanks apollo13, carljm, shaib, akaariai, charettes, and dstufft for reviews.
2013-08-22Fixed #19303 -- Fixed ModelAdmin.formfield_overrides on fields with choicesLukasz Balcerzak
2013-08-22Fixed #20934 -- Avoided NoReverseMatch in ModelAdmin.changelist_viewRainer Koirikivi
The view tried to display links to a ModelAdmin's change_view, which resulted in NoReverseMatches if get_urls was overridden to remove the corresponding url.
2013-08-22Fixed model.__eq__ and __hash__ for no pk value casesAnssi Kääriäinen
The __eq__ method now considers two instances without primary key value equal only when they have same id(). The __hash__ method raises TypeError for no primary key case. Fixed #18864, fixed #18250 Thanks to Tim Graham for docs review.
2013-08-22Revert "Fixed #20956 -- Removed useless check in django.db.utils"Tim Graham
This reverts commit ce0e86cf761dc182ae6fb8c0d68964955d19ec75. The check is necessary if 'ENGINE' is an empty string. Thanks apollo13 for pointing this out.
2013-08-22Documentation -- Clarified use of 'view' in test client introduction.Kevin Christopher Henry
2013-08-22Fixed #20944 -- Removed inaccurate statement about View.dispatch().Marc Tamlyn
2013-08-22Fixed #20956 -- Removed useless check in django.db.utilsDima Kurguzov