Reading this again... I misunderstood. I think you may be using the
term "view" in the Django lingo, not in the standard MVC terminology.

if you return a dict from a controller, you must have a view. If you
do not have a view it will use generic.html. Your options are:
- return a string
- return a dict and make a view (.html) that does not {{extend
'layout.html'}}

Massimo

On May 1, 12:59 pm, mdipierro <[email protected]> wrote:
> Can you show us your code?
>
> I do what you are saying all the time without problems.
>
> Massimo
>
> On May 1, 12:57 pm, Jason Brower <[email protected]> wrote:
>
> > I have tried to use a view that has no layout; it an ajax call that I am
> > using to pull parts of the page only when needed.  But when I do it, it
> > keeps trying to add the generic layout.  How do I tell it not to do
> > something like that?
> > BR,
> > Jason Brower
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to