Here's the traceback. Sorry I didn't post it before; I'm new at this. Environment:
Request Method: POST Request URL: http://192.168.0.10:8000/qc/newsession/ Django Version: 1.0.2 final Python Version: 2.5.2 Installed Applications: ['django.contrib.auth', 'django.contrib.databrowse', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.formtools', 'fd.homepage', 'fd.metaparent', 'fd.flavorbase', 'fd.forms', 'fd.qc', 'fd.pdf_processing'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.csrf.middleware.CsrfMiddleware', 'django.middleware.transaction.TransactionMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware') Traceback: File "/var/lib/python-support/python2.5/django/core/handlers/base.py" in get_response 86. response = callback(request, *callback_args, **callback_kwargs) File "/home/stachurski/fd/../fd/qc/views.py" in newsession 86. instances = formset.save() File "/var/lib/python-support/python2.5/django/forms/models.py" in save 389. return self.save_existing_objects(commit) + self.save_new_objects(commit) File "/var/lib/python-support/python2.5/django/forms/models.py" in save_existing_objects 410. saved_instances.append(self.save_existing (form, obj, commit=commit)) File "/var/lib/python-support/python2.5/django/forms/models.py" in save_existing 377. return save_instance(form, instance, exclude= [self._pk_field.name], commit=commit) File "/var/lib/python-support/python2.5/django/forms/models.py" in save_instance 74. instance.save() File "/var/lib/python-support/python2.5/django/db/models/base.py" in save 311. self.save_base(force_insert=force_insert, force_update=force_update) File "/var/lib/python-support/python2.5/django/db/models/base.py" in save_base 361. values = [(f, None, f.get_db_prep_save(raw and getattr(self, f.attname) or f.pre_save(self, False))) for f in non_pks] File "/var/lib/python-support/python2.5/django/db/models/fields/ __init__.py" in get_db_prep_save 192. return self.get_db_prep_value(value) File "/var/lib/python-support/python2.5/django/db/models/fields/ __init__.py" in get_db_prep_value 609. return connection.ops.value_to_db_decimal(self.to_python (value), File "/var/lib/python-support/python2.5/django/db/models/fields/ __init__.py" in to_python 583. return decimal.Decimal(value) File "/usr/lib/python2.5/decimal.py" in __new__ 654. "First convert the float to a string") Exception Type: TypeError at /qc/newsession/ Exception Value: Cannot convert float to Decimal. First convert the float to a string -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=.