Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
←
Previous Change
Next Change
→
Changeset
112:e22eeb00aa5a
for
examples/common.py
View differences
inline
side by side
Show
lines around each change
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
01/27/09 07:36:35 (
18 months
ago)
Author:
Ga?tan de Menten <ged@…>
Branch:
default
Message:
do not use the report repository in any example except a special purpose
example "demo_repository".
Files:
1 modified
examples/common.py
(modified)
(
3 diffs
)
Legend:
Unmodified
Added
Removed
examples/common.py
r85
r112
1
import relatorio
2
3
1
class Invoice(dict):
4
2
…
…
12
10
13
11
14
repos = relatorio.ReportRepository()
15
12
inv = Invoice(customer={'name': 'John Bonham',
16
13
'address': {'street': 'Smirnov street',
…
…
42
39
bottle=(file('bouteille.png', 'r'), 'image/png'))
43
40
44
45
Download in other formats:
Unified Diff
Zip Archive