Hi, AFAICS, it's nearly impossible to do this in the way you want to.
set_pub_date is an another view which does a CRUD operation like generic view create_object and you pass it to extra_context which is relevant to a template operation. extra_context declares new objects in the template and is not intended to add new control logic on the form. Maybe you wanted to pass to extra_context a new PressReleaseCRUD form and uses it in place of generic views' form ? In that case why do you use a generic view ? I wonder why you don't want to do this logic on your model instance ? Frédéric -- http://www.openidfrance.fr/fhebert --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---