Hi Karen,

Provided the details below.
Here is the Traceback and Django version is 1.2

Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "c:\Python25\lib\site-packages\django\db\models\query.py", line
395, in delete
    object._collect_sub_objects(seen_objs)
  File "c:\Python25\lib\site-packages\django\db\models\base.py", line
542, in _collect_sub_objects
    delete_qs = rel_descriptor.delete_manager(self).all()
  File "c:\Python25\lib\site-packages\django\db\models\fields
\related.py", line 344, in delete_manager
    self.related.model._base_manager.__class__)
  File "c:\Python25\lib\site-packages\django\db\models\fields
\related.py", line 399, in create_manager
    getattr(instance, attname)}
  File "c:\Python25\lib\site-packages\django\db\models\fields
\related.py", line 257, in __get__
    rel_obj = QuerySet(self.field.rel.to).get(**params)
  File "c:\Python25\lib\site-packages\django\db\models\query.py", line
299, in get
    clone = self.filter(*args, **kwargs)
  File "c:\Python25\lib\site-packages\django\db\models\query.py", line
498, in filter
    return self._filter_or_exclude(False, *args, **kwargs)
  File "c:\Python25\lib\site-packages\django\db\models\query.py", line
516, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))
  File "c:\Python25\lib\site-packages\django\db\models\sql\query.py",
line 1675, in add_q
    can_reuse=used_aliases)
  File "c:\Python25\lib\site-packages\django\db\models\sql\query.py",
line 1614, in add_filter
    connector)
  File "C:\Python25\Lib\site-packages\django\db\models\sql\where.py",
line 56, in add
    obj, params = obj.process(lookup_type, value)
  File "C:\Python25\Lib\site-packages\django\db\models\sql\where.py",
line 269, in process
    params = self.field.get_db_prep_lookup(lookup_type, value)
  File "C:\Python25\Lib\site-packages\django\db\models\fields
\__init__.py", line 210, in get_db_prep_lookup
    return [self.get_db_prep_value(value)]
  File "C:\Python25\Lib\site-packages\django\db\models\fields
\__init__.py", line 361, in get_db_prep_value
    return int(value)
ValueError: invalid literal for int() with base 10: 'lokesh'
>>>

Lokesh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to