Friday, February 18, 2011

Re: RE: 'str' object is not callable

Where is 'deletion_time' defined, in reference to the urls.py? The error is that urls.py can't resolve deletion_time, which is why its saying that "I cannot call a string object".

I would investigate that.  Try qualifying it by giving it the module name.

On another note, you can concatenate your two statements in your method to Buchung.object.filter(id=obj_id).delete()

Hope this helps.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate