main
Last change
on this file was
42bd667,
checked in by David Fuertes <dfuertes@…>, 4 years ago
|
Historial Limpio
|
-
Property mode set to
100755
|
File size:
518 bytes
|
Line | |
---|
1 | {{ |
---|
2 | ### |
---|
3 | # response._vars contains the dictionary returned by the controller action |
---|
4 | # Assuming something like: |
---|
5 | # |
---|
6 | # db.define_table('event', |
---|
7 | # Field('title'), |
---|
8 | # Field('start_datetime','datetime'), |
---|
9 | # Field('stop_datetime','datetime')) |
---|
10 | # events = db(db.event).select() |
---|
11 | # |
---|
12 | # Aor this to work the action must return something like |
---|
13 | # |
---|
14 | # dict(events=events, title='title',link=URL('action'),timeshift=0) |
---|
15 | # |
---|
16 | ### |
---|
17 | from gluon.serializers import ics}}{{=XML(ics(**response._vars))}} |
---|
Note: See
TracBrowser
for help on using the repository browser.