#2660: FloatField cant be edited in admin.
--------------------------------+-------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  adrian 
     Type:  defect              |       Status:  closed 
 Priority:  normal              |    Milestone:         
Component:  Admin interface     |      Version:  SVN    
 Severity:  normal              |   Resolution:  invalid
 Keywords:                      |  
--------------------------------+-------------------------------------------
Changes (by ubernostrum):

  * resolution:  => invalid
  * status:  new => closed

Comment:

 You have a bad combination of arguments there; `max_digits=1` means "do
 not accept numbers with more than one total digit in them", which means
 that `decimal_places` can't do much for you -- as soon as you enter the
 "5" you've got one total digit and `max_digits` won't let you enter any
 more. If you need to store a number of the form "5.5", you need
 `max_digits=2, decimal_places=1`.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2660>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to