On Mon, Oct 3, 2011 at 10:49 AM, Matt Broadstone wrote:
> On Mon, Oct 3, 2011 at 10:11 AM, Bruno Rocha wrote:
>> You can always set
>> if x:
>> response.view = 'folder/file.html'
>> elif y:
>> response.view = ''
>> Also, you can use:
>> def action:
>> return response.render("file.html",
On Mon, Oct 3, 2011 at 10:11 AM, Bruno Rocha wrote:
> You can always set
> if x:
> response.view = 'folder/file.html'
> elif y:
> response.view = ''
> Also, you can use:
> def action:
> return response.render("file.html", dict(context=context))
>
I tried this with the following code in my
You can always set
if x:
response.view = 'folder/file.html'
elif y:
response.view = ''
Also, you can use:
def action:
return response.render("file.html", dict(context=context))
On Mon, Oct 3, 2011 at 10:16 AM, Matt Broadstone wrote:
> Good morning,
> I have a situation where I wan
Good morning,
I have a situation where I want to display composite views (a view
for an object inside a view for its parent object). I have a class
Connection that has a Profile associated with it. Profile can be one
of a number of different subclasses (AProfile, BProfile, CProfile). I
also have
4 matches
Mail list logo