Re: Generic delete view.

2008-07-10 Thread William
Thanks, that was the issue. I looked back at the generic view tutorial, and saw the code was structured slightly differently, which allowed them to put the view in a string. I also found this post in django-dev, which might be the one that you saw earlier referencing generic views+newforms:

Re: Generic delete view.

2008-07-09 Thread Rob Hudson
It took me a minute to see it, but "str object not callable" is referring to the fact that your URL pattern is providing a string as its 2nd argument and "delete_object" (the string) cannot be imported and called. You can either: 1) Use the actual view you imported (i.e. remove the single

Generic delete view.

2008-07-08 Thread William
Hi, I'm having a bit of trouble using the delete generic view in Django SVN. I have the following entry in my urlpatterns: from django.views.generic.create_update import * urlpatterns = patterns('', ... (r'^calendar/delete/(?P\d+)/$','delete_object',