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
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 mbroa...@gmail.com wrote:
Good morning,
I have a
On Mon, Oct 3, 2011 at 10:11 AM, Bruno Rocha rochacbr...@gmail.com 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
On Mon, Oct 3, 2011 at 10:49 AM, Matt Broadstone mbroa...@gmail.com wrote:
On Mon, Oct 3, 2011 at 10:11 AM, Bruno Rocha rochacbr...@gmail.com wrote:
You can always set
if x:
response.view = 'folder/file.html'
elif y:
response.view = ''
Also, you can use:
def action:
return
4 matches
Mail list logo