summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2007-08-18Added the ability for end users to register commands with management.py.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18Renamed Cache to AppCache and cache_ready() to app_cache_ready() from [5919] ↵Malcolm Tredinnick
in order to avoid any potential confusion with Django's caching middleware functionality when reading the code. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-17Fixed 'django-admin.py syncdb' to take verbosity into account when loading ↵Adrian Holovaty
initial_data fixture git-svn-id: http://code.djangoproject.com/svn/django/trunk@5920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-17Rewrote portions of the app- and model-cache initialisation to handle some ↵Malcolm Tredinnick
corner cases. It is now possible to use m2m relations before everything is imported and still get the right results later when importing is complete. Also, get_apps() should always return the same results, so apps won't randomly disappear in the admin interface. Also reorganised the structure of loading.py, since the number of global variables was exploding. The public API is still backwards compatible. Fixed #1796 and #2438 (he claims, optimistically). git-svn-id: http://code.djangoproject.com/svn/django/trunk@5919 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-17Fixed #5189 -- Added logout method to test Client. Thanks, Jakub Wisniowski ↵Russell Keith-Magee
<restless.being@gmail.com>. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-17Added fix for verbosity handling in loaddata and test commands.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Added 'django-admin.py testserver' command and docsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Added shutdown_message to runserver command -- a hook for specifying a ↵Adrian Holovaty
message to display after the server is shut down git-svn-id: http://code.djangoproject.com/svn/django/trunk@5911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Changed django.test.utils.create_test_db to return the name of the test ↵Adrian Holovaty
database that was created git-svn-id: http://code.djangoproject.com/svn/django/trunk@5910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Removed some trailing space in commands/syncdb.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Updated Oracle 'syncdb' call from [5906] to use the options that it ↵Adrian Holovaty
previously had git-svn-id: http://code.djangoproject.com/svn/django/trunk@5908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Fixed bug in django.core.management.base.copy_helper, related to refactoring ↵Adrian Holovaty
in [5903] git-svn-id: http://code.djangoproject.com/svn/django/trunk@5907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Fixed runtests.py failing on Oracle after django.core.management was Matt Boersma
refactored. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5906 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Fixed #5182 -- Fixed missing 'import sys' in syncdb.py. Thanks, John ShafferAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Improved error handling for management.py commands, especially for no ↵Russell Keith-Magee
argument or non-applabel argument commands. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Fixed #5179 -- Added missing kwargs to startapp command. Thanks for the ↵Russell Keith-Magee
report, Vsevolod Solovyov <vsevolod.solovyov@gmail.com>. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Fixed #5178 -- Added missing 'import sys' in management/commands/test.py. ↵Russell Keith-Magee
Thanks for picking this up, michal@plovarna.cz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Added a return value to the test frameworks ↵Russell Keith-Magee
TestSMTPConnection.send_messages, to match the real implementation. Thanks for the suggestion and fix, Michael <absoludity@gmail.com>. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16Major refactoring of django.core.management -- it's now a package rather ↵Adrian Holovaty
than a 1730-line single module. All django-admin/manage.py commands are now stored in separate modules. This is backwards-incompatible for people who used django.core.management functions directly git-svn-id: http://code.djangoproject.com/svn/django/trunk@5898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15Fixed #5156 -- Added some translation calls to a couple of missed words. ↵Malcolm Tredinnick
Based on a patch from dAniel hAhler. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15Fixed #4880 -- Updated Spanish translation. Thanks, Mario Gonzalez.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-14Fixed bug in [5885]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-14Changed django.contrib.auth.views.login to use RequestSite if the sites ↵Adrian Holovaty
framework is not installed -- i.e., the sites framework is no longer required to use this view. See also [5654] git-svn-id: http://code.djangoproject.com/svn/django/trunk@5885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-14Made some negligible formatting changes to django/core/management.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-14Removed 'LIMIT 1' from the [5882] change, as it's not supported by OracleAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-13Fixed #5030 -- Removed 'COUNT()' from Model.save() when determining whether ↵Adrian Holovaty
a row exists. We're now using a SELECT 1 LIMIT 1 instead, as it's more efficient in some databases. Thanks, zigiDev@mac.com and the various folks who verified this patch works git-svn-id: http://code.djangoproject.com/svn/django/trunk@5882 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-13Fixed #5141 -- Added Croation translation. Thanks, Aljosa Mohorovic.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #4994 -- Send back set-cookie headers in "not modified" responses. ↵Malcolm Tredinnick
Well spotted, colin@owlfish.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #5085 -- In generic views, set the default name for the slug field to ↵Malcolm Tredinnick
'slug'. Thanks, Trevor Caira. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #5111 -- Set svn:eol-style to 'native' on files that didn't have itMalcolm Tredinnick
already. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #4946 -- Added some small improvements to Gzip middleware. Thanks, ↵Malcolm Tredinnick
colin@owlfish.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #4947 -- Avoid displaying uploaded file contents in the debug web ↵Malcolm Tredinnick
page. Based on a patch from eibaan@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Clarified the reasoning in a comment.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #4933 -- Fixed a typo and reformatted a fairly long line in passing. ↵Malcolm Tredinnick
Thanks, Ludvig Ericson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #4909 -- Fixed a race condition with middleware initialisation in ↵Malcolm Tredinnick
multi-threaded setups. Thanks, colin@owlfish.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #5015 -- Typo fix in oldforms. Thanks, teyc@cognoware.com.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #5011 -- Fixed usage of ungettext in hasNoProfanities validator. ↵Adrian Holovaty
Thanks, tzellman@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@5864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #5019 -- Fixed broken links in navigation of 'change password' admin ↵Adrian Holovaty
page. Thanks, hpxchan@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@5863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #5046 -- Added 'Unicode error hint' section to debug page in the case ↵Adrian Holovaty
of a UnicodeError. Thanks, Thomas Guttler git-svn-id: http://code.djangoproject.com/svn/django/trunk@5862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #5095 -- newforms now checks for EnvironmentError when importing ↵Adrian Holovaty
settings. Thanks, SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@5861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #4622 -- Fixed SelectDateWidget to work correctly when used as a ↵Malcolm Tredinnick
hidden input field. Thanks, Bill Fenner. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed a Python 2.3 incompatibility.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Fixed #1984 -- Updated Italian translation from Nicola Larosa.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12Moved in_ directory to its correct location under localflavor. I committed ↵Malcolm Tredinnick
it in the wrong place in [5847]. Fixed #3986. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11Fixed #4910 -- Allow Unicode content to be passed in for text-based e-mailMalcolm Tredinnick
attachments. Thanks, djoume@taket.org. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11Fixed #4902 -- Added Czech support to urlify.js. Thanks, Honza Král.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11Fixed #4827 -- Fixed a problem when converting Unicode table names to ↵Malcolm Tredinnick
upper-case in Oracle backend. Based on a patch from timchen119@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11Fixed #4414 -- Fixed Javascript message translation to also work when there ↵Malcolm Tredinnick
is more than one format marker in a string. Thanks, tobias@neuyork.de. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11Fixed #4189 -- Fixed crashes in a couple of corner cases in the comments ↵Malcolm Tredinnick
app. Not a perfect fix (see ticket), but it will do as a holdover until the new comments framework is in place. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11Fixed #3986 -- Added Indian localflavor. Thanks, pradeep.gowda@gmail.com.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5847 bcc190cf-cafb-0310-a4f2-bffc1f526a37