| Revision 593,
518 bytes
checked in by jdalbey, 6 years ago
(diff) |
|
Add branch LCSv1
|
| 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.