#4800: Field's default value in model isn't passed to SQL
-----------------------------------------------+----------------------------
Reporter: Michal Ludvig <[EMAIL PROTECTED]> | Owner:
adrian
Status: new | Component:
Database wrapper
Version: SVN | Resolution:
Keywords: | Stage: Design
decision needed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 1
-----------------------------------------------+----------------------------
Changes (by Gary Wilson <[EMAIL PROTECTED]>):
* needs_better_patch: => 1
* stage: Unreviewed => Design decision needed
* needs_tests: => 0
* needs_docs: => 0
Comment:
A couple things:
* If we are going to add this, it needs to be for more than just
`BooleanField`.
* Since default values can be given callables, the default value might
not be determined until runtime. You would not want the default value
specified at the database level in this case.
--
Ticket URL: <http://code.djangoproject.com/ticket/4800#comment:1>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---