summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2013-01-29Fixed #19552 -- Enhanced makemessages handling of ``{# #}``-style template ↵Ramiro Morales
comments. They are simply ignored now. This allows for a more correct behavior when they are placed before translatable constructs on the same line. Previously, the latter were wrongly ignored because the former were preserved when converting template code to the internal Python-syntax form later fed to xgettext but Python has no ``/* ... */``-style comments. Also, special comments directed to translators are now only taken in account when they are located at the end of a line. e.g.:: {# Translators: ignored #}{% trans "Literal A" %}{# Translators: valid, associated with "Literal B" below #} {% trans "Literal B" %} Behavior of ``{% comment %}...{% endcomment %}``tags remains unchanged. Thanks juneih at redpill-linpro dot com for the report and Claude for his work on the issue.
2013-01-29Implemented some SpatiaLiteOperations as cached propertiesClaude Paroz
Previously, some properties weren't set unless confirm_spatial_components_versions() was explicitely called.
2013-01-29Fixed typos in docs and commentsTim Graham
2013-01-28Added HTML5 url input typeClaude Paroz
Refs #16630.
2013-01-28Added HTML5 email input typeClaude Paroz
Refs #16630.
2013-01-28Fixed #19676 -- Supported 'self' foreign keys in inspectdb.Aymeric Augustin
Thanks Georgy Kutsurua for the report and Simon Charette for the patch.
2013-01-28Fixed #19677 -- Introspection of recursive foreign keys under SQLite.Aymeric Augustin
Thanks Simon Charette.
2013-01-26Fixed #16123 -- Ensured strptime receive proper string typeClaude Paroz
strptime generates an UnicodeEncodeError when using a non-ascii unicode string on Python 2.
2013-01-26Fixed #18483 -- Marked hidden field error string for translationClaude Paroz
Thanks Evil Clay for the report and Emil Stenstrom for the initial patch.
2013-01-26Fixed #17158 -- Used a non-ambiguous representation of SQL queriesAymeric Augustin
when a correct representation cannot be obtained.
2013-01-26Moved BooleanField 'required' validation in validate()Claude Paroz
2013-01-26Fixed #19589 -- assertRegexpMatches is deprecated in Python 3.3.Aymeric Augustin
2013-01-26Fixed #19540 -- Stopped using deprecated os.stat_float_times.Aymeric Augustin
2013-01-26Fixed validation of email addresses when the local part contains an @.Aymeric Augustin
See also BaseUserManager.normalize_email -- it uses rsplit. Refs #4833.
2013-01-25Used property decorators in django/forms.pyClaude Paroz
2013-01-25Fixed #18460 -- Fixed change detection of ReadOnlyPasswordHashFieldClaude Paroz
Thanks jose.sanchez et ezeep.com for the report and Vladimir Ulupov for the initial patch.
2013-01-25Moved has_changed logic from widget to form fieldClaude Paroz
Refs #16612. Thanks Aymeric Augustin for the suggestion.
2013-01-25Revert "Patch by Claude for #16084."Ramiro Morales
This reverts commit 2babab0bb351ff7a13fd23795f5e926a9bf95d22.
2013-01-25Patch by Claude for #16084.Ramiro Morales
2013-01-25Fixed #19665 -- Ensured proper stderr output for Command.run_from_argvClaude Paroz
Thanks Stefan Koegl for the report and Simon Charette for the review.
2013-01-25Fixed #19577 - Added HTML escaping to admin examples.Tim Graham
Thanks foo@ for the report and Florian Apolloner for the review.
2013-01-24Fixed #6682 -- Made shell's REPL actually execute $PYTHONSTARTUP and ↵Ramiro Morales
`~/.pythonrc.py`. Also: * Added a ``--no-startup`` option to disable this behavior. Previous logic to try to execute the code in charge of this funcionality was flawed (it only tried to do so if the user asked for ipython/bpython and they weren't found) * Expand ``~`` in PYTHONSTARTUP value. Thanks hekevintran at gmail dot com for the report and initial patch. Refs #3381.
2013-01-24Minor optimization in the static serve view.Aymeric Augustin
2013-01-24Fixed #19125 -- The startproject command should validate the name earlierClaude Paroz
Thanks Łukasz Rekucki for the report and the patch.
2013-01-24Fixed #17416 -- Added widgets argument to inlineformset_factory and ↵Nick Sandford
modelformset_factory
2013-01-23Remove dup_select_related method.Marc Tamlyn
This undocumented method was used in an old version of the admin, is totally untested and hails from 2008. Although it's listed in the "public methods" section, as it's not documented or used I don't think it needs a deprecation path. If we think it's useful I'll write some tests/docs for it instead...
2013-01-22Fixed #19477 - Documented generic_inlineformset_factoryTim Graham
Thanks epicserve for the suggestion.
2013-01-22Fixed #19596 -- Use `_default_manager` instead of `objects` in the auth app.Florian Apolloner
This is needed to support custom user models which don't define a manager named `objects`.
2013-01-21Fixed #18051 -- Allowed admin fieldsets to contain listsClaude Paroz
Thanks Ricardo di Virgilio for the report, Mateus Gondim for the patch and Nick Sandford for the review.
2013-01-21Fixed #19637 -- Ensured AdminEmailHandler fails silentlyClaude Paroz
Thanks lsaffre for the report. Refs #19325.
2013-01-20Fixed #17813 -- Added a .earliest() method to QuerySetNick Sandford
Thanks a lot to everybody participating in developing this feature. The patch was developed by multiple people, at least Trac aliases tonnzor, jimmysong, Fandekasp and slurms. Stylistic changes added by committer.
2013-01-19Fix in makemessages refactoring plus UI tweaks.Ramiro Morales
2013-01-19Refactored makemessages commandClaude Paroz
2013-01-19Fixed #19606 -- Adjusted cx_Oracle unicode detection.Jani Tiainen
2013-01-18Removed models/related.py BoundRelatedObjectAnssi Kääriäinen
The class wasn't used anywhere except in RelatedObject.bind(), which wasn't used anywhere. The class had one method defined as NotImplemented, yet the class wasn't subclassed anywhere. In short, the class was dead code.
2013-01-18Avoided unnecessary recreation of RelatedObjectsAnssi Kääriäinen
Refs #19399. Thanks to Track alias KJ for the patch.
2013-01-17Made (make|compile)messages commands accept multiple locales at once.Craig Blaszczyk
Thanks Craig Blaszczyk for the initial patch. Refs #17181.
2013-01-16Modified makemessages so it creates .pot files once per invocation.Ramiro Morales
It creates a `locale/django.pot` file once instead of one `locale/<locale_code>/django.pot` file for every locale involved. Thanks Michal Čihař for the report and patch.
2013-01-16Fixed #17008 -- Added makemessages option to not remove .pot files.Ramiro Morales
Thanks airstrike for the report and initial patch, Julien for an enhanced patch and Jannis for reviewing.
2013-01-15Merge pull request #649 from mattrobenolt/patch-1Aymeric Augustin
Removed untested optional dependency on mx libraries.
2013-01-15Kill mx.TextTools with fireMatt Robenolt
2013-01-15Removed obsolete comment.Aymeric Augustin
These features are implemented, tracked in tickets, or not necessary. Thanks Bruno Renié.
2013-01-15Fixed #19099 -- Split broken link emails out of common middleware.Aymeric Augustin
2013-01-15Fixed #19092 -- Completed Lithuanian date/time formatsClaude Paroz
Thanks Tadas Dailyda for the report and the patch.
2013-01-14Move logic seperation as its not longer repetitiveDavid Cramer
2013-01-14Send post_delete signals immediatelyDavid Cramer
In a normal relational construct, if you're listening for an event that signals a child was deleted, you dont expect that the parent was deleted already. This change ensures that post_delete signals are fired immediately after objects are deleted in the graph.
2013-01-12Fixed #17574 -- Implemented missing get_key_columns in PostgreSQL backendClaude Paroz
2013-01-12Return namedtuple from get_table_descriptionClaude Paroz
We don't make use of it currently to not break third-party db backends.
2013-01-12Fixed #18026 -- Don't return an anonymous dict if extra_data in storage is ↵Stephan Jaekel
empty.
2013-01-11Removed some now dead code from deletion (thanks to Carl Meyer for noticing it).Alex Gaynor