summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2012-02-09Fixed #17286 -- Made sure all cache backends are set up to connect to the ↵Jannis Leidel
signal handler that closes the cache connection when the request has been processed. Thanks, gnosek. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-09Fixed #11970 -- Wrapped the exception happening during deserialization in ↵Jannis Leidel
DeserializationError exceptions. Thanks, Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-09Fixed #10080 -- Slightly extended the fix made in r10401 by also taking ↵Jannis Leidel
command line options into account that don't have have a default set. Thanks, Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-07Fixed #11745 -- Grouped commands by application in the output of `manage.py ↵Aymeric Augustin
help`. Made 'version' consistent with 'help' while I was in the area, and added tests. Thanks Jannis for the feedback and review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-05Fixed #8317 -- Corrected the inspectdb management command to properly set ↵Julien Phalip
`primary_key=True` and `unique=True` on foreign keys. Thanks to bthomas for the report and patch, and to David Gouldin for the tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-04Made a couple of idiomatic changes in makemessages.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-04Removed hard-coded root tree path in makemessages.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-04Fixed undefined variable name in makemessages command code.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-04Fixed #8291 -- Allowed 'pk' to be used as an ordering option in ↵Julien Phalip
`Model.Meta`. Thanks to peterd12 for the report and to evan_schulz, gruszczy, frog32 and David Gouldin for their work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-04Fixed #17628 -- Extended makemessages command to also ignore directories ↵Jannis Leidel
when walking, not only when looking for files. Thanks, Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-04Fixed #17602 -- Stopped the XML serializer from doing unneeded queries. ↵Jannis Leidel
Thanks, gnosek. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-04Fixed #17517 -- Added `--name` option to startproject and startapp ↵Jannis Leidel
management commands to be able to render files without a file extension. Thanks, Florian Apolloner. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-19Fixed #17078: properly invoke IPython 0.12.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-15Fixed #17468 -- Made sure the project/app template management command tests ↵Jannis Leidel
correctly handle an existing directory on Windows. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-15Made email attachment handling code accept non-ASCII filenames.Ramiro Morales
Thanks to Anton Chaporgin for the report and to Claude Paroz for the patch. Fixes #14964. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-14Fixed #17530 - Fixture loading with deferred constraints broken for Postgres ↵Luke Plant
for fixtures from multiple dirs/files Thanks to claudep for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-08Fixed #17300 -- Prevented createcachetable from crashing when the cache ↵Aymeric Augustin
table already exists. Thanks Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-08Implemented PEP386-compatible version numbers. Thanks Jannis for the guidance.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-07Fixed #17100 -- Typo in the regex for EmailValidator. Thanks reames AT ↵Aymeric Augustin
asymmetricventures com for the report and Claude Paroz for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-04Fixed #17503 -- A destination directory passed to startproject or startapp ↵Carl Meyer
as optional second argument is now reused as the project/app directory, rather than a new project/app directory created within it. Refs #17042. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-02Fixed #6163 -- Made "manage.py help runfcgi" display proper default values ↵Julien Phalip
for the runfcgi options. Thanks to ash and Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-01Made sure startproject can handle template URLs with trailing slashes.Ramiro Morales
Thanks Issac Kelly that reported this via IRC. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17320 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-30Fixed #16590 -- Accepted a 'name' argument in the constructor of ↵Aymeric Augustin
ContentFile, for consistency with File. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-30Fixed #17444 -- Made it possible to customize the 'To' header in emails.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-29Moved validation of project names to an earlier spot so no directory with ↵Ramiro Morales
invalid name is created. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-29Made sure the new project template functionality works when the templateRamiro Morales
path specified has a trailing path separator. Thanks Alex for the report. Fixes #17475. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-29Made sure `manage.py help test` works.Ramiro Morales
Thanks shige DOT abe AT nasa DOT gov for the report. Fixes #17477. Refs r16352. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-23Refactored the internals of makemessages management command for better ↵Ramiro Morales
readability. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-22Fixed #15900 -- Calls to reverse with nested namespaced urls are escaped ↵Gabriel Hurley
properly and capture parameters as expected. Thanks to teolicy for the report, and dmclain for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-22Fixed #17042 -- Extended startproject and startapp management commands to ↵Jannis Leidel
better handle custom app and project templates. Many thanks to Preston Holmes for his initial patch and Alex Gaynor, Carl Meyer, Donald Stufft, Jacob Kaplan-Moss and Julien Phalip for code reviewing. * Added ability to pass the project or app directory path as the second argument * Added ``--template`` option for specifying custom project and app templates * Cleaned up admin_scripts tests a little while I was there git-svn-id: http://code.djangoproject.com/svn/django/trunk@17246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-22Fixed #2879 -- Added support for the integration with Selenium and other ↵Julien Phalip
in-browser testing frameworks. Also added the first Selenium tests for `contrib.admin`. Many thanks to everyone for their contributions and feedback: Mikeal Rogers, Dirk Datzert, mir, Simon G., Almad, Russell Keith-Magee, Denis Golomazov, devin, robertrv, andrewbadr, Idan Gazit, voidspace, Tom Christie, hjwp2, Adam Nelson, Jannis Leidel, Anssi Kääriäinen, Preston Holmes, Bruno Renié and Jacob Kaplan-Moss. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-21Ensured that `makemessages` doesn't leave any temporary file over if the ↵Julien Phalip
parsing of a template file fails. Refs #8536. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-17Tweaked changes from r17228 to cater for older simplejson versions.Ramiro Morales
dump() started accepting the `use_decimal` argument in 2.1.3. Refs #16850. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-17Fixed #16850 -- Made sure we always represent Decimal instances with JS ↵Ramiro Morales
strings when serializing. We force this when calling simplejson dump() to isolate us from changes of default behavior to encode them with JavaScript numbers instead that could introduce loss of precision when decoding back from JSON to Python. Thanks Raphael Hertzog for the report and Bob Ippolito for his help. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-17Fixed various dodgy behavioursAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-16Fixed #14597 -- Added a SECURE_PROXY_SSL_HEADER setting for cases when ↵Adrian Holovaty
you're behind a proxy that 'swallows' the fact that a request is HTTPS git-svn-id: http://code.djangoproject.com/svn/django/trunk@17209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-16Removed incorrect comment in core/handlers/modpython.py. If it were true, ↵Adrian Holovaty
the modpython handler wouldn't be working, because the handler's module imports from django.http, which includes a settings import git-svn-id: http://code.djangoproject.com/svn/django/trunk@17208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-16Negligible typo fix in a comment in handlers/wsgi.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-11Fixed #16397 -- Respected the --traceback flag in BaseCommand. This should ↵Aymeric Augustin
make import loops easier to debug. Refs #11667, #17369. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-03Fixed a couple of typos.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-27Clean up the the locmem cache backend and utils.synch by using context ↵Alex Gaynor
managers. Puch prettier. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-26Fixed #17287 -- Prevented LocMemCache.incr/decr from changing key expiry ↵Carl Meyer
time. Thanks Ivan Virabyan for report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-21Fixed #16378. Locmem now uses pickle.HIGHEST_PROTOCOL for better ↵Paul McMillan
compatibility with other hash backends. Thanks aaugustin for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-20Upgraded manage.py cleanup to be compatible with time zone support. See also ↵Aymeric Augustin
r17121. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-20Made the database cache backend, which bypasses the ORM, compatible with ↵Aymeric Augustin
time zone support. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-19Fixed #15255 -- Ensured createcachetable honors database routers.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-18Added support for time zones. Thanks Luke Plant for the review. Fixed #2626.Aymeric Augustin
For more information on this project, see this thread: http://groups.google.com/group/django-developers/browse_thread/thread/cf0423bbb85b1bbf git-svn-id: http://code.djangoproject.com/svn/django/trunk@17106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12Fix #16570: Restore ability to have decimal fields where max_digits equals ↵Karen Tracey
decimal_places. Thanks dcwatson and kenth. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-11Fixed #16903 -- Added `--no-location` option to the `makemessages` command ↵Julien Phalip
to not write '#: filename:line' comment lines in language files. Thanks to alpar for the suggestion and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-07Fixed #11118 -- Made management command BaseCommand restore locale after ↵Ramiro Morales
execution. Thanks rvdrijst for the report and initial patch and Claude Paroz for enhancing it. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17077 bcc190cf-cafb-0310-a4f2-bffc1f526a37