summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2006-09-26Fixed #2782 -- Fixed incorrect request.META['SERVER_PORT'] for mod_python.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2188 -- Raise an error when using long CharFields in combination withMalcolm Tredinnick
older MySQL versions. Thanks, Fraser Nevett <mail@nevett.org> . git-svn-id: http://code.djangoproject.com/svn/django/trunk@3855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2783 -- Fixed one-to-one fields to work with any primary key data typeMalcolm Tredinnick
in the related model. Thanks, Joel Heenan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2760 -- Fixed FloatField validator right (take two!) for negativeMalcolm Tredinnick
float amounts. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25Proofread new django-admin 'adminmedia' option from [3811] and [3812]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25Small improvements to profanities-to-settings move from [3784]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25Fixed #2729 -- Handle initial SQL with different line-ending styles (WindowsMalcolm Tredinnick
vs. Unix vs. Mac). Thanks, Simon Greenhill. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25Fixed #2745 -- Made the __repr__ methods for modpython and wsgi request moreMalcolm Tredinnick
robust in the face of bad input, since they are needed for error handling. Based on a patch from md@hudora.de. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-24Fixed #2674 -- Added stricter date validation so that things like 2006-11-31Malcolm Tredinnick
are caught. Thanks, Gary Wilson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-24Fixed #2600 -- Added an option to allow serving admin media from a custom pathMalcolm Tredinnick
with dev server. Thanks, adurdin@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-23A corrected version of r3805.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-23Reverting r3805 whilst I track down a potential problem with it.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-23Fixed #2613 -- Fixed an easily triggered memory error in file uploads for WSGI.Malcolm Tredinnick
Thanks Jeong-Min Lee. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-23Fixed #2425 -- Call validate() as part of generating SQL in order to catch aMalcolm Tredinnick
few more errors. Thanks, Simon Greenhill. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-23Fixed #2418 -- Fixed obsolete method call in PermLookupDict.__repr__. Thanks,Malcolm Tredinnick
DarkElf109@ibendit.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22Fixed #2789 -- Corrected typo from r3788.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22Fixed #2515 -- Allow passing of options to JSON serializer. Thanks, nesh.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22Fixed #2560 -- Add close() support to HttpResponse iterators. Thanks, IvanMalcolm Tredinnick
Sagalaev. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22Fixed #2578 -- Give a more accurate error message for admin.list_display_linksMalcolm Tredinnick
at model validation time. Patch from Christopher Lenz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22Fixed #2760 -- Fixed validation of negative float amounts in forms. Thanks,Malcolm Tredinnick
James Bennett and Eddy Mulyono. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22Fixed #2747 -- Make X-Headers work for staff members. Admins with dyanmic IPMalcolm Tredinnick
addresses can now use bookmarklets. Thanks, Maximillian Dornseif. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22Fixed #2678 -- Moved the list of profanities for the hasNoProfanities validatorMalcolm Tredinnick
into global_settings. Patch from Matt Croydon. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-21Fixed #2732 -- Allow first positional argument to runfastcgi() to be optional.Malcolm Tredinnick
Patch from James Crasta. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3777 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-14Fixed #2732 -- Fixed error in FastCGI docs and added keyword-arg support in ↵Adrian Holovaty
a FastCGI function. Thanks for the patch, James Crasta git-svn-id: http://code.djangoproject.com/svn/django/trunk@3759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-11Fixed #2689 -- Got 'manage.py diffsettings' working again. Thanks for the ↵Adrian Holovaty
patch, Jeong-Min Lee git-svn-id: http://code.djangoproject.com/svn/django/trunk@3751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-07Fixes #2653 -- Modified related field utility methods to return None as the ↵Russell Keith-Magee
related name for symmetrical m2m fields on self. Updated validators and unit tests to account for the new behavior. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31Fixed #2611 -- Fixed XML serializer to handle null datetime fields. Thanks ↵Adrian Holovaty
for reporting, csdurfee@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-28Fixed verbosity check in installing initial dataJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-28Fixed #2607 -- Fixed incorrect ordering of super() arguments in ↵Adrian Holovaty
DateTimeAwareJSONEncoder. Thanks for the patch, dummy@habmalnefrage.de git-svn-id: http://code.djangoproject.com/svn/django/trunk@3671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-27Refs #2333 - Added 'test' target to django-admin script. Includes addition ↵Russell Keith-Magee
of --verbosity and --noinput options to django-admin, and a new TEST_RUNNER setting to control the tool used to execute tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-21Fixed #2577 -- Made isSlug() validator translation-aware. Thanks for the ↵Adrian Holovaty
patch, henrik_kroeger@arcor.de git-svn-id: http://code.djangoproject.com/svn/django/trunk@3634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18Fixed #2561 -- memcached cache backend no longer ignores default timeout. ↵Adrian Holovaty
Thanks for the report and patch, Christopher Lenz git-svn-id: http://code.djangoproject.com/svn/django/trunk@3611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12Fixed #2372 -- manage.py runfcgi no longer ignore LANGUAGE_CODE. Thanks, ↵Adrian Holovaty
ludo@qix.it git-svn-id: http://code.djangoproject.com/svn/django/trunk@3569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11Changed inspectdb to *not* trim trailing 's' from database table name to ↵Adrian Holovaty
create class name, because Django no longer does that as of magic-removal git-svn-id: http://code.djangoproject.com/svn/django/trunk@3558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11Improved urlresolvers so that URLconfs can be passed objects instead of stringsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11Moved the space check from r3549 to before the Python keyword check so thatMalcolm Tredinnick
perverse column names like "fin ally" don't fall through the cracks. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-10Fixed #2517 -- Improved inspectdb to handle table column names that contain ↵Adrian Holovaty
spaces. Thanks, Karen Tracey git-svn-id: http://code.djangoproject.com/svn/django/trunk@3549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-10Fixed #2469 -- Fixed the constraint names in the sqlreset output (again!).Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-09Fixed #2469 -- Made the "drop index" constraint names match those we create ↵Malcolm Tredinnick
in the first place. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-09Fixed #2260 -- fixed a problem where some foreign key references were beingMalcolm Tredinnick
omitted during a "reset" or "sqlreset". Thanks, marcink@elksoft.pl. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-07Fixed #2494 -- Django development server no longer does reverse DNS. As a ↵Adrian Holovaty
side effect, the server no longer sets the REMOVE_HOST environment variable git-svn-id: http://code.djangoproject.com/svn/django/trunk@3530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-06Fixed #2491 -- Pass the project directory back from setup_environ so that weMalcolm Tredinnick
can set up the "startapp" command. Thanks, marcink@elksoft.pl. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-06Moved the environment setup into a method that can be called from other scripts.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-02Fixed #2467 -- Improved model validator to check date_hierarchy. Thanks, ↵Adrian Holovaty
Simon Greenhill git-svn-id: http://code.djangoproject.com/svn/django/trunk@3516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-01Fixed #2257 -- make constraint names unique across all table/columnMalcolm Tredinnick
combinations (for the benefit of MySQL). git-svn-id: http://code.djangoproject.com/svn/django/trunk@3512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-01Fixed #2370 -- It's now possible to pass default URLconf arguments to ↵Adrian Holovaty
include(). Added docs, as well. Thanks for the patch, martin.glueck@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-31Fixed #2460 -- JSON serializer now correctly handles datetime objects. ↵Jacob Kaplan-Moss
Thanks, siniy and jyrki.pulliainen@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28Added leading slash to output of core.urlresolvers.reverse(), and made ↵Adrian Holovaty
'urlconf' a keyword argument git-svn-id: http://code.djangoproject.com/svn/django/trunk@3470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27Changed output of django-admin.py --version to use a hyphen instead of ↵Adrian Holovaty
parenthesis, to be clearer git-svn-id: http://code.djangoproject.com/svn/django/trunk@3460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-25Added resolve() and reverse() helper functions to django.core.urlresolversAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3445 bcc190cf-cafb-0310-a4f2-bffc1f526a37