Hello everybody,
I'm working in a website using django. I would like that users could select
and delete data introduced for them. I've found some information on the web
and it seems that the ListView and DeleteView is what I need. However, when
I try to do a ListView, it doesn
> views.py:
>
> def PozoList(ListView):
> model = Pozo
> template_name = 'cuencas/edicioncuenca.html'
>
Is your view a function or a class?
--
$ gpg --recv-key da5098a7
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe fr
>
> I'm working in a website using django. I would like that users could
> select and delete data introduced for them. I've found some information on
> the web and it seems that the ListView and DeleteView is what I need.
> However, when I try to do a ListView, it doesn
This is a bit of a stumper!
I don't see any big glaring issues. A couple of housekeeping things: Is
there data in the table? Are you certain that you are using the correct
template?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubsc
Hmmm... Try and post your urls.py and views.py (the correct one)
On Mon, Feb 2, 2015 at 5:20 PM, Dan Gentry wrote:
> This is a bit of a stumper!
>
> I don't see any big glaring issues. A couple of housekeeping things: Is
> there data in the table? Are you certain that you are using the correct
You've defined your class-based view as a function:
def PozoList(ListView):
You should be defining it as a class:
class PozoList(ListView):
And you should be calling the to_view() method for the PozoList class from
your urls.py.
Please post your urls.py and any traceback and error messages you
6 matches
Mail list logo