Re: Where to store repetitive form logic?
On Dec 4, 6:43 pm, jwpeddle <jwped...@gmail.com> wrote:
> Not having any luck with this. Surely there's a simple example out
> there somewhere of view agnostic DRY form logic.
The old thread you point to still makes sense.
A redirect can only happen in response to a request
a request is handled by a view
It sounds like you need a view in your comment app that just handles
comment posts in an agnostic way and redirects back to the page object
that holds the comments.
-Preston
>
> On Dec 4, 10:43 am, jwpeddle <jwped...@gmail.com> wrote:
>
>
>
> > That is definitely one approach I hadn't considered, and just might
> > work in my situation.
>
> > On Dec 4, 10:13 am, Heigler <lordheig...@gmail.com> wrote:
>
> > > I think the way is build your own generic view if you have customized
> > > things like that comment tag.
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home