django1/django
Malcolm Tredinnick 53da1e4794 Fixed #9649 -- Better error handling in model creation.
Previously, you could explicitly assign None to a non-null ForeignKey
(or other) field when creating the model (Child(parent=None), etc). We
now throw an exception when you do that, which matches the behaviour
when you assign None to the attribute after creation.

Thanks to ales.zoulek@gmail.com and ondrej.kohout@gmail.com for some
analysis of this problem.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-06 04:51:05 +00:00
..
bin Fixed #5522 -- Moved make-messages, compile-messages and daily-cleanup into django-admin.py. 2008-07-06 06:39:44 +00:00
conf Updated Czech localflavor in Polish translation 2009-03-02 08:49:47 +00:00
contrib Fixed #10397 -- made GIS test runner compatible with changes in r9756. 2009-03-06 02:01:20 +00:00
core Fixed #10381 -- Fixed some a machine-dependent test failure after r9921. 2009-03-04 04:53:15 +00:00
db Fixed #9649 -- Better error handling in model creation. 2009-03-06 04:51:05 +00:00
dispatch Fixed #8285: signal handlers that aren't functions work under DEBUG. This slightly loosens the sanity check, but things that are valid under production shouldn't fail under debug. 2008-08-25 18:24:05 +00:00
forms Fixed 10075: Allowed saving of inline-edited models that use multi-table inheritance. 2009-02-03 14:02:09 +00:00
http Fixed #8278: fixed `QueryDict.update(QueryDict)`. Thanks, julien. 2008-08-29 16:49:19 +00:00
middleware Fixed #9199 -- We were erroneously only prepending "www" to the domain if we 2008-10-07 08:22:50 +00:00
shortcuts Fixed #3511 -- Changed QuerySet.get() to return a MultipleObjectsReturned exception, rather than an assertion error. Thanks, Gary Wilson and cheeming. 2007-12-02 18:21:07 +00:00
template Fixed #9701 -- Added a "safeseq" template filter. 2009-03-02 08:16:33 +00:00
templatetags Fixed #7460 -- Made the "cache" template tag always generate keys that can be 2008-08-25 04:52:55 +00:00
test Fixed #10165 -- Use settings.TEST_RUNNER in runtests.py 2009-02-28 04:46:38 +00:00
utils Factor out some common pieces of django.conf.LazySettings. 2009-03-02 04:48:22 +00:00
views Revised r9566 slightly to be backwards compatible with versions 1.0 - 1.0.2. 2009-01-09 12:41:07 +00:00
__init__.py Bump version to 1.1 alpha 1 and add download_url for the eventual 1.1 alpha 1 packagee 2009-02-24 01:46:29 +00:00