Commit Graph

4916 Commits

Author SHA1 Message Date
Russell Keith-Magee 87a704cf50 Fixed #7531 -- Modified the sites test so that user-provided initial data doesn't cause breakage when executed from within user applications. Thanks for the report, madkinder@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-25 12:09:18 +00:00
Jarek Zgoda 922f62c29e Missing compiled messages file from my previous commit
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-24 05:47:51 +00:00
Jarek Zgoda af46df583f Updated Polish translations (couple of locality names and some wording cleanups)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-24 05:46:44 +00:00
Jannis Leidel 89624bf67f Fixed #7477 -- Updated German locale.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-23 19:48:16 +00:00
Russell Keith-Magee dce557b9e7 Fixed #6891 -- Clarified modelform usage documentation. Thanks to Eric Holscher for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-23 12:57:11 +00:00
Russell Keith-Magee 3ce81068b8 Fixed #7525 -- Added createsuperuser to the bash completion script. Thanks to John Scott for the fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-23 12:42:09 +00:00
Russell Keith-Magee c8d39f15cb Fixed #7521 -- Reverted [7716]. Fixed URLs in test case broke any application that deployed contrib.auth.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-23 12:17:57 +00:00
Gary Wilson Jr 5db4d60215 Several Django styling fixes in the `contrib.sessions` app.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-23 05:08:07 +00:00
Russell Keith-Magee 1fc0077a95 Fixed #7517 -- Added code to remove Sites from the site cache when they are deleted. Thanks to Marc Fargas for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7724 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-22 06:50:25 +00:00
Russell Keith-Magee b83fcacfcc Fixed #7514 -- Added code to clear the site cache on sync. This shouldn't have any effect on regular usage, but it does correct an error in the test suite. Thanks to Marc Fargas for the fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-22 06:34:17 +00:00
Luke Plant b1851cca3e Fixed bug with Model.delete() which did not always delete objects in the right order.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 20:57:05 +00:00
Luke Plant 7c621535a2 Added tests for corner case with deleting where objects are deleted in the wrong order.
These tests currently fail, by design, fix will be committed shortly.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7721 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 20:55:17 +00:00
Luke Plant 17bc2820bb Removed some unnecessary work in Model._collect_sub_objects()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 16:37:44 +00:00
Russell Keith-Magee 5fc7dd7d28 Removed some cruft from the [7718] checkin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 05:26:12 +00:00
Russell Keith-Magee 5e4e04befb Fixed #7513 -- Added a note on the dependencies that need to be installed when running the Django system tests. Thanks to Peter Melvyn for the original report, and Ramiro Morales for the original draft.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 05:20:42 +00:00
Russell Keith-Magee d9c3e0a36a Fixed a minor typo in some sample SQL. Thanks for the report, Glen Jarvis <glenjarvis.com@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 04:43:05 +00:00
Luke Plant fad8e8f7c2 Added basic tests for auth.views.password_reset
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 17:43:12 +00:00
Luke Plant 5efb9652d7 Added docs about urls.py and testing views for contrib apps
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 17:18:58 +00:00
Luke Plant ddcf51a0ba Updated information about unit tests, contrib apps in particular.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 15:34:51 +00:00
Luke Plant 9cf3048b08 Fixed #3774 - primary_key=True does not, in fact, imply blank=False
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 12:10:13 +00:00
Marc Fargas 6123f8455c Catalan translation updates.
This includes: Lowercasing language and month names, 
and two new language names.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 11:04:29 +00:00
Jacob Kaplan-Moss e637f47232 Fixed #7475: fixed a possible race condition in ModelChoiceIterator. Thanks, esaj.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 21:15:33 +00:00
Russell Keith-Magee 5d09d8769d Fixed #6650 -- Added UTF-8 encoding to SQL output provided by management commands. Thanks to farcaller for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 14:38:56 +00:00
Russell Keith-Magee e726065d5d Fixed #6812 -- Modified the formtools test case to be run order safe with respect to the ROOT_URLCONF setting. Thanks for the patch, james
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 13:32:39 +00:00
Russell Keith-Magee 090aeee399 Fixed #6719 -- Added a --traceback option to syncdb to provide a stack trace when custom SQL loading fails. Also added documentation for the --traceback option. Thanks to guettli for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 13:24:39 +00:00
Russell Keith-Magee a7f6faaa81 Fixed #7059 -- Added a note to the settings documentation reminding users that when DEBUG=True, Django keeps a log of queries. Thanks for the suggestion, simonb.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 12:13:43 +00:00
Russell Keith-Magee 5da67a084a Fixed #7355 -- Modified urlize utility to handle https:// addresses. Thanks for the report and patch, clint.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 12:05:39 +00:00
Marc Fargas d943c19428 Closes #7461, Month/Week names lowercased. Thanks Arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 07:53:24 +00:00
Jacob Kaplan-Moss 7ecd4867a5 Fixed #7458: added Lithuanian to LANGUAGES.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 20:53:55 +00:00
Jacob Kaplan-Moss 8cb4895c68 Added Estonian to global_settings.LANGUAGES. Refs #7141.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 20:51:22 +00:00
Marc Fargas 7e0664bfd8 Refs #7461, lowercased language names in Spanish translation. Thanks Arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7696 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 20:47:07 +00:00
Marc Fargas 12f8d59193 Refs #7458, New Lithuanian translation. Thanks Rapolas Kaselis.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 20:38:35 +00:00
Jacob Kaplan-Moss 1a75b5a03c Fixed #4860: added 'for' attributes to labels in newforms widgets. Thanks to Ivan Sagalaev and batiste@dosimple.ch for the patches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 16:33:04 +00:00
Jacob Kaplan-Moss 2b62e945b0 Fixed #3393: login view no longer assumes that set_test_cookie has been called. This is mildly backwards-incompatible, but in the "now it works the way it should have all along" sense. Thanks to James and lcordier for the patches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 16:13:14 +00:00
Russell Keith-Magee c5f7caba72 Refs #7268 -- Added svn:executable flag for the Bash completion script.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 13:27:20 +00:00
Russell Keith-Magee f9b9052c55 Refs #7268 -- Added django-admin as an alias in the django-bash-completion script. Thanks, Raphael Hertzog <hertzog@debian.org>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 13:17:23 +00:00
Russell Keith-Magee e146e508da Fixed #7554 -- Modified contrib.localflavor to make use of ugettext, rather than ugettext. Thanks to msaelices for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 13:10:05 +00:00
Russell Keith-Magee 4317ba5799 Fixed #7318 -- Cleaned up the template inheritance logic, specifically to handle the case where the parent template has no template tags/blocks. Took the opportunity to optimize the logic a little. Thanks to Matthias Kestenholz <mk@spinlock.ch> for the original report and test case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 12:59:39 +00:00
Russell Keith-Magee dc7f21daf7 Fixed #7429 -- Modified the Session base class a little more dictionary-like by adding update(), has_key(), values(), and iterator access methods. Thanks to Jeremy Dunck for the suggestion and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 12:07:46 +00:00
Marc Fargas 0694c75e2d Missing compile-messages.py -l hr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 09:12:39 +00:00
Aljosa Mohorovic f0c750d018 updated croatian translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 21:43:53 +00:00
Gary Wilson Jr f410de010d Refs #7216 -- Corrected typo, removed comma, trimmed trailing whitespace, and fixed reST link in [7678].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 15:46:59 +00:00
Jacob Kaplan-Moss 04df702263 Updated LICENSE. Announcement forthcomming...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 14:53:24 +00:00
Russell Keith-Magee e829e9ff8f Fixed #7044 -- Corrected a minor typo in a docstring in the model loader. Thanks, msaelices.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 13:58:19 +00:00
Russell Keith-Magee 6d242ccc63 Fixed #7216 -- Added a description on how to use named URLs with a permalink. Thanks, masklinn.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 13:56:10 +00:00
Russell Keith-Magee cd0f7b9a39 Fixed #7200 -- Added newforms documentation for the FloatField. Thanks, George Vilches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 13:47:17 +00:00
Russell Keith-Magee c6f277f972 Fixed #7174 -- Corrected the default setting for TEMPLATE_LOADERS described in the settings docs. Thanks, pbx.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 13:37:31 +00:00
Russell Keith-Magee b3653db4f0 Fixed #7292 -- Removed reference to form_for_model in the form_preview docs. Thanks to programmerq for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 11:22:03 +00:00
Russell Keith-Magee e4fc327890 Fixed #7470 -- Corrected typo in template docs. Thanks to cbmeeks@gmail.com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 11:19:08 +00:00
Marc Fargas 8a861942cd Closes #7413, Updated Hebrew translation (Thanks Meir Kriheli)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 10:54:48 +00:00