1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

7194 Commits

Author SHA1 Message Date
Zain Memon
00c983cfc9 [soc2009/admin-ui] a foreignkey autocomplete with an api callback for the search instead of rendering the queryset in the page
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@11409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-06 03:40:01 +00:00
Zain Memon
ba47aebc6d [soc2009/admin-ui] Merging up to trunk svn:r11382 into my branch (this time from the right directory)
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@11400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-05 04:16:35 +00:00
Zain Memon
98fc6a1b68 [soc2009/admin-ui] Merging up to trunk svn:r11382 into my branch
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@11383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-03 23:59:05 +00:00
Zain Memon
242e8177bf [soc2009/admin-ui] prevent selector-inlines from jumping the page to the top when selecting a different inline
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@11196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-06 03:49:45 +00:00
Zain Memon
6d84761b0c [soc2009/admin-ui] javascript add-inline for selector inlines
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@11180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-05 10:49:53 +00:00
Zain Memon
da943bf6a8 [soc2009/admin-ui] Reordering selector inlines.
happy 4th!


git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@11179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-05 07:07:49 +00:00
Zain Memon
e0e60ef501 [soc2009/admin-ui] merging trunk up to r11153 into my branch
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@11154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-02 08:26:30 +00:00
Zain Memon
2ae6ac5a6c [soc2009/admin-ui] Javascript inline addition for tabular inlines
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@11153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-02 08:10:57 +00:00
Zain Memon
d2d6301455 [soc2009/admin-ui] A far better way to implement adding inlines using javascript. Instead of handling all the prefix incrementing in Javascript and losing any default values, added a way to generate a template form that can be cloned every time a new inline is added.
This is for stacked inlines. Support for tabular and selector inlines coming next. 


git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@11152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-02 07:19:44 +00:00
Zain Memon
f5bb5b5f98 [soc2009/admin-ui] Reordering tabular inlines, with support for other inlines coming next.
On a model, add: 
order = models.OrderField()

On the model's TabularInline admin object, add:
order_field = 'order'



git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@11132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-01 04:00:34 +00:00
Zain Memon
fcf957d599 [soc2009/admin-ui] merging trunk up to r11004 into my branch
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@11006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-15 04:34:41 +00:00
Zain Memon
59e26c75f7 [soc2009/admin-ui] adding inlines using javascript (for stacked inlines): complete
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@11005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-15 04:32:22 +00:00
Zain Memon
f2e8cb719b [soc2009/admin-ui] Better styling for Selector Inlines, and proper javascript hiding
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@10959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-09 04:57:26 +00:00
Zain Memon
aac3f307f1 [soc2009/admin-ui] the beginnings of a new type of inline, called Selector Inline, based on this mockup: http://media.wilsonminer.com/images/django/related-objects-stacked.gif
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@10958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-09 03:44:46 +00:00
Zain Memon
e9b2fc1f29 [soc2009/admin-ui] One step further to adding inlines using javascript.
This time, we clone the first hidden extra-inline field, append it to the inline list, and update its id. This is actually a pretty terrible way to add inlines, but it serves the purpose of showing what an addition will look like. 


git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@10940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-07 10:02:33 +00:00
Zain Memon
62523016cc [soc2009/admin-ui] First steps to dynamically add stacked inlines. Upon loading the change list page, all extra inline fields are hidden and an "Add" link is shown at the bottom.
Currently, clicking on the link will only re-show the hidden extra inlines; it won't add any new ones. Proper addition is going to be in the next check-in.


git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@10939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-07 07:05:27 +00:00
Zain Memon
d3e2863e89 [soc2009/admin-ui] JQuery 1.3.2 minified. Alex Gaynor's favorite library.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@10938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-07 07:01:22 +00:00
Zain Memon
82b25800cd [soc2009/admin-ui] Merging trunk r10924 into my branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@10925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-05 20:58:34 +00:00
Jacob Kaplan-Moss
6275888332 Create "admin-ui" branch for Zain Memon's SoC project.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/admin-ui@10856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-27 18:48:05 +00:00
Karen Tracey
7638651cc3 Fixed #11204 -- Corrected typo in the pluralize doc. Thanks martin and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-27 16:26:56 +00:00
Karen Tracey
9b19fd7a76 Fixed #11209 -- Added a note to doc on connection.queries that the logged sql may not inlude parameter quoting.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-27 16:20:11 +00:00
Karen Tracey
bdf33b37da Fixed #11215 -- Replaced erroneous catch with except in testing doc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-27 16:03:51 +00:00
Karen Tracey
5dc30c9fd2 Fixed #11205 -- Made the links to the str method description look the same as the links to the unicode method description in the tutorial part 1. Having one be fully qualified while the other was not was odd-looking.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-26 16:46:56 +00:00
Karen Tracey
5e20adcdf6 Fixed #11202 -- Removed mod_python information from FAQ, as it is no longer the recommended deployment option, in favor of more general pointers to the docs and wiki where deployment is discussed in depth.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-26 16:27:12 +00:00
Adrian Holovaty
a251e0ab7e Fixed #11070 -- Removed JING_PATH setting, which was no longer used. Thanks for the patch, seanl
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-26 05:32:52 +00:00
Adrian Holovaty
9848f888ba Made some small improvements to docs/topics/http/sessions.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-26 05:29:28 +00:00
Brian Rosner
5d9983d084 Fixed #8857 -- Corrected ref in modelforms documentation and added ref to file upload documentation in form documentation. Thanks Kyle Fox and prairiedogg.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-24 06:46:02 +00:00
Karen Tracey
e258961e4f Fixed #11188 -- Removed incorrect doc note about step being unsupported when slicing query sets.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-23 12:58:31 +00:00
Jacob Kaplan-Moss
077a94c550 Fixed #10867: make the makemessages command ignore files and only process directories. Thanks, diegobz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-20 20:05:14 +00:00
Jacob Kaplan-Moss
c935d7ffe3 Fixed #11134: signals recievers that disconnect during their processing no longer mess things up for other handlers. Thanks, Honza Kral.
While I was at it I also cleaned up the formatting of the docstrings a bit.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-20 16:13:55 +00:00
Jarek Zgoda
ca365b4113 Polish translation updated.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-20 11:03:10 +00:00
Russell Keith-Magee
4567b44909 Modified a test from r10787 so that the comparison order is reliable. Thanks to Alex Gaynor and Tom Tobin for the report via IRC.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-20 00:19:13 +00:00
Karen Tracey
8c8625bde3 Fixed #11149 -- Don't call save_form_data on file-type fields multiple times when saving a model form.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-19 23:13:33 +00:00
Russell Keith-Magee
2e24596001 Fixed #11116 -- Corrected the deletion of proxy objects. Thanks to Samuel Adam for the fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-19 13:42:38 +00:00
Russell Keith-Magee
b9b9ca334e Fixed #9308 -- Corrected the updated of nullable foreign key fields when deleting objects. Thanks to Bob Thomas for the fix, and markshep for the improvements on the test case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-19 12:44:17 +00:00
Karen Tracey
ae95edf91d Fixed #11138 -- Corrected the description of behavior related to the max_num parameter for model formsets.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-18 16:00:29 +00:00
Karen Tracey
5a5842ccf2 Fixed #11137 -- Add missing base class in proxy model extra managers doc. Thanks ekarulf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-18 15:36:18 +00:00
Karen Tracey
a6a0b29318 Fixed #10400: Added a note in the file uploads doc about the correct form type needed for file uploads to work. Thanks claudep and timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 18:45:25 +00:00
Karen Tracey
b2d2aba77e Fixed #10817 -- Corrected some grammar in the forms doc. Thanks nickretallack@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 18:10:10 +00:00
Karen Tracey
21c6f98076 Fixed #10846: Corrected typo in modwsgi.txt and updated reference to deployment in The Django Book. Thanks timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 18:04:29 +00:00
Karen Tracey
b527a59da8 Fixed #10855: Reference doc on creating superusers in the tutorial at the point where an account is needed, so that readers who neglected to create one earlier (or who forgot the password) don't get stuck or think they have to start all over. Thanks cwolf127 and timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 17:54:51 +00:00
Karen Tracey
33e77db6a2 Fixed #10925 -- Clarified the location of some code referenced in the tutorial. Thanks rm and timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 17:43:15 +00:00
Karen Tracey
5a4ad739b7 Fixed #10971 -- Corrected code example involving redirect_chain in the testing doc. Thanks yourcelf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 17:36:04 +00:00
Karen Tracey
c8e071b00d Fixed #11031 -- Added doc for some additional roles needed when testing Oracle. Thanks JirkaV and Matt Boersma.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 17:24:59 +00:00
Karen Tracey
3465ac05a6 Fixed #11034: Corrected serialization example in admin actions doc. Thanks timo and kaikuehne.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 17:13:33 +00:00
Karen Tracey
21cee79ee4 Fixed #11054 -- Corrected typo in auth-remote-user.txt. Thanks Jan Hülsbergen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 16:57:50 +00:00
Karen Tracey
50745cc31e Fixed #11066 -- Corrected 15 duplicate "the"s found in docs and code comments. Thanks kaikuehne.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 16:45:28 +00:00
Karen Tracey
92e5249a67 Fixed #11130 -- Corrected code example in custom template tag doc. Thanks phyfus.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 16:31:02 +00:00
Karen Tracey
2cbec63f0b Fixed #11106 -- Corrected typo in models doc. Thanks mnieber.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10797 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 16:20:11 +00:00
Karen Tracey
7ba62f2c15 Fixed #11128 -- Misc. fixes and improvements to the model forms doc. Thanks Ramiro and Alex.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 16:12:05 +00:00