Justin Bronn
71c8539570
Fixed typo.
2013-01-23 12:36:48 -08:00
Tim Graham
0de2645c00
Fixed #19610 - Added enctype note to forms topics doc.
...
Thanks will@ for the suggestion.
2013-01-23 04:49:48 -05:00
Preston Holmes
b44a5d1924
Merge pull request #666 from mjtamlyn/dup-select-related
...
Remove dup_select_related method.
2013-01-22 16:46:15 -08:00
Marc Tamlyn
389892aae5
Remove dup_select_related method.
...
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-23 00:26:20 +00:00
Tim Graham
0db86273ae
Fixed #19633 - Discouraged use of gunicorn's Django integration.
2013-01-22 19:02:31 -05:00
Tim Graham
214fb700b9
Fixed #19477 - Documented generic_inlineformset_factory
...
Thanks epicserve for the suggestion.
2013-01-22 18:17:26 -05:00
Tim Graham
5b2d9bacd2
Fixed #19640 - Added inlineformset_factory to reference docs.
...
Thanks wim@ for the suggestion.
2013-01-22 07:55:34 -05:00
Anders Kaseorg
e535da6865
Fixed #19523 -- Improved performance of Django's bash completion
...
Previous version took about 150ms to source, even on a warm cache,
primarily because it forks+execs /usr/bin/basename 44 times.
This patch makes it faster by a factor of 5 (and I imagine that a little
more thought would reduce the time to effectively zero).
2013-01-22 13:50:10 +01:00
Florian Apolloner
cc4de61a2b
Fixed #19596 -- Use `_default_manager` instead of `objects` in the auth app.
...
This is needed to support custom user models which don't define a manager
named `objects`.
2013-01-22 12:47:34 +01:00
Ramiro Morales
456f9b9847
Simplified a i18n test.
2013-01-21 23:22:18 -03:00
Claude Paroz
8ce1e392fa
Fixed error introduced when testing patch for 013db6ba85
...
Shame on me.
2013-01-21 22:42:47 +01:00
Claude Paroz
013db6ba85
Fixed #18051 -- Allowed admin fieldsets to contain lists
...
Thanks Ricardo di Virgilio for the report, Mateus Gondim for the
patch and Nick Sandford for the review.
2013-01-21 22:34:36 +01:00
Claude Paroz
c6e0dedbdb
Fixed #19637 -- Ensured AdminEmailHandler fails silently
...
Thanks lsaffre for the report. Refs #19325 .
2013-01-21 20:32:36 +01:00
Anssi Kääriäinen
7aa538357c
Cleaned up testing models.py added for earliest()
...
The main cleanup was removal of non-necessary __unicode__ method. The
tests didn't break on py3 as the string representation was never used
in the tests.
Refs #17813 . Thanks to Simon Charette for spotting this issue.
2013-01-20 08:53:45 +02:00
Anssi Kääriäinen
f96c86b029
Added missing versionadded 1.6 to docs of earliest()
...
Refs #17813
2013-01-20 06:45:00 +02:00
Nick Sandford
fe54377dae
Fixed #17813 -- Added a .earliest() method to QuerySet
...
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-20 06:39:35 +02:00
Ramiro Morales
37718eb50b
Fix in makemessages refactoring plus UI tweaks.
2013-01-19 12:58:33 -03:00
Claude Paroz
755f215590
Refactored makemessages command
2013-01-19 12:05:06 +01:00
Jani Tiainen
d194f29057
Fixed #19606 -- Adjusted cx_Oracle unicode detection.
2013-01-19 09:27:16 +02:00
Tim Graham
0375244eae
Fixed #19628 - Noted that app for custom user model must be in INSTALLED_APPS
...
Thanks dpravdin and Jordan Messina.
2013-01-18 18:38:12 -05:00
Aymeric Augustin
1dd7492843
Fixed #19632 -- Bug in code sample.
...
Thanks grossmanandy at bfusa com and Simon Charette.
2013-01-18 20:52:04 +01:00
Anssi Kääriäinen
56f34f9f22
Removed models/related.py BoundRelatedObject
...
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-18 16:00:57 +02:00
Anssi Kääriäinen
3647c0a49a
Avoided unnecessary recreation of RelatedObjects
...
Refs #19399 . Thanks to Track alias KJ for the patch.
2013-01-18 07:09:39 +02:00
Craig Blaszczyk
6158c79dbe
Made (make|compile)messages commands accept multiple locales at once.
...
Thanks Craig Blaszczyk for the initial patch. Refs #17181 .
2013-01-17 00:53:17 -03:00
Ramiro Morales
295650bd01
Simplified i18n commands tests.
2013-01-17 00:35:46 -03:00
Ramiro Morales
248aee1606
Modified makemessages so it creates .pot files once per invocation.
...
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-16 20:48:06 -03:00
Ramiro Morales
eee865257a
Fixed #17008 -- Added makemessages option to not remove .pot files.
...
Thanks airstrike for the report and initial patch, Julien for an
enhanced patch and Jannis for reviewing.
2013-01-16 20:29:06 -03:00
Tim Graham
d406afe12e
Fixed #19597 - Added some notes on jQuery in admin.
...
Thanks Daniele Procida.
2013-01-15 20:00:05 -05:00
Aymeric Augustin
b4b0034917
Merge pull request #649 from mattrobenolt/patch-1
...
Removed untested optional dependency on mx libraries.
2013-01-15 10:16:59 -08:00
Matt Robenolt
222a956ecc
Kill mx.TextTools with fire
2013-01-15 10:15:40 -08:00
Aymeric Augustin
4cf057faab
Removed obsolete comment.
...
These features are implemented, tracked in tickets, or not necessary.
Thanks Bruno Renié.
2013-01-15 18:02:24 +01:00
Aymeric Augustin
50a985b09b
Fixed #19099 -- Split broken link emails out of common middleware.
2013-01-15 17:41:45 +01:00
Aymeric Augustin
83d0cc5214
Fixed a typo in the error reporting docs.
2013-01-15 16:55:38 +01:00
Alex Gaynor
984e91e28f
Removed some uses of the deprecated assertEquals
2013-01-15 07:51:33 -08:00
Aymeric Augustin
74d72e21b4
Fixed #19614 -- Missing request argument in render call.
...
Thanks Dima Pravdin for the report.
2013-01-15 14:36:47 +01:00
Tim Graham
c9b577ead6
Clarified WizardView.get_form_prefix doc, refs #19024
2013-01-15 07:56:09 -05:00
Tim Graham
43f89e0ad6
Fixed #19605 - Removed unused url imports from doc examples.
...
Thanks sergzach for the suggestion.
2013-01-15 07:50:26 -05:00
Claude Paroz
2f8ab2f1b0
Fixed #19092 -- Completed Lithuanian date/time formats
...
Thanks Tadas Dailyda for the report and the patch.
2013-01-15 13:46:54 +01:00
Alex Gaynor
c346d358fd
Merge pull request #642 from dcramer/patch-1
...
Send post_delete signals immediately
2013-01-14 13:48:31 -08:00
David Cramer
a7ed09d13d
Improve test to ensure that post_delete was actually called
2013-01-14 13:34:55 -08:00
David Cramer
abbb88886b
Move logic seperation as its not longer repetitive
2013-01-14 13:17:01 -08:00
David Cramer
6045efa029
Move signal disconnect into finally block
2013-01-14 13:15:47 -08:00
David Cramer
d53e3b15ee
Add David Cramer to AUTHORS
2013-01-14 13:15:47 -08:00
David Cramer
272de9eb6b
Send post_delete signals immediately
...
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-14 13:15:47 -08:00
Tim Graham
4720117a31
Added details on minified jQuery and DEBUG mode for contrib.admin.
...
Thanks Daniele Procida.
2013-01-13 15:11:24 -05:00
Aymeric Augustin
0ca2d1e20a
Fixed typo in file storage docs.
...
Thanks Jørgen Abrahamsen.
2013-01-13 19:36:49 +01:00
Tim Graham
ba50d3e05b
Fixed #14633 - Organized settings reference docs and added a topical index.
...
Thanks Gabriel Hurley for the original idea
and adamv for the draft patch.
2013-01-12 18:44:53 -05:00
Claude Paroz
0171ba65db
Fixed #17574 -- Implemented missing get_key_columns in PostgreSQL backend
2013-01-12 21:46:08 +01:00
Claude Paroz
223fc8eaf9
Return namedtuple from get_table_description
...
We don't make use of it currently to not break third-party db
backends.
2013-01-12 21:14:22 +01:00
Stephan Jaekel
17f8496fea
Fixed #19024 -- Corrected form wizard docs for get_form_prefix.
2013-01-12 15:55:06 +01:00