I am using a generic view to view an individual item ('articulo') like so:
urlpatterns = patterns('', (r'^articulos/(?P<object_id>\d+)/$', list_detail.object_detail, articulo_detail_info) The 'articulo_detail.html' template imports a "base.html" template, which expects a 'form' parameter, like so: {% block search %} <form method="POST" action="/lista/"> <table>{{ form.as_table }}</table> <a href=".">Borrar</a><br /> <input type="submit"> </form> {% endblock %} Since this parameter is not passed from the generic view, the form doesn't show. The form is defined in views.py and works for my other, non-generic views. Is there a way to pass the form via a generic view? Thanks, Rodrigo --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---