Re: Passing a form via a generic view

2008-01-07 Thread Rodrigo Culagovski
Ramiro, got it, thanks! Rodrigo On Jan 7, 3:20 pm, "Ramiro Morales" <[EMAIL PROTECTED]> wrote: > Rodrigo, > > On Jan 7, 2008 4:05 PM, Rodrigo Culagovski <[EMAIL PROTECTED]> wrote: > > > [...] > > > Since this parameter is not passed from the generic view, the form > > doesn't show. The form is

Re: Passing a form via a generic view

2008-01-07 Thread Ramiro Morales
Rodrigo, On Jan 7, 2008 4:05 PM, Rodrigo Culagovski <[EMAIL PROTECTED]> wrote: > [...] > > 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

Passing a form via a generic view

2008-01-07 Thread Rodrigo Culagovski
I am using a generic view to view an individual item ('articulo') like so: urlpatterns = patterns('', (r'^articulos/(?P\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: