Hi,
I'm not sure generic views are the answer. It sounds to me like you're
asking about reducing duplication in the templates themselves by
creating something you can reuse. That something is a template tag
(http://docs.djangoproject.com/en/dev/howto/custom-template-tags/). I
think you probably w
Thanks for replying Daniel. I wanted to know if I can use generic
views for web application form objects. I would like to use them to
avoid duplication on html pages.
On Sep 25, 1:20 pm, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Sep 25, 8:51 pm, Karthik Krishnan <[EMAIL PROTECTED]> wrote:
>
On Sep 25, 8:51 pm, Karthik Krishnan <[EMAIL PROTECTED]> wrote:
> I know this may be a stupid question but please bear with me. Here is
> my problem
>
> In views.py I have a multiple methods, where each method is mapped to
> a unique model. There may be multiple methods mapped to the same
> model.
I know this may be a stupid question but please bear with me. Here is
my problem
In views.py I have a multiple methods, where each method is mapped to
a unique model. There may be multiple methods mapped to the same
model. But no method in views.py is mapped to multiple models.
For a GET/POST re
4 matches
Mail list logo