summaryrefslogtreecommitdiffstats
path: root/agenda/templatetags/random_image.pyc
blob: 7ed44e66bcf5d086449450f59da10bf6c17bc3da (plain)
ofshex dumpascii
0000 b3 f2 0d 0a 2a 07 a7 48 63 00 00 00 00 00 00 00 00 08 00 00 00 40 00 00 00 73 7b 00 00 00 64 00 ....*..Hc............@...s{...d.
0020 00 64 01 00 6b 00 00 5a 00 00 64 00 00 64 01 00 6b 01 00 5a 01 00 64 00 00 64 01 00 6b 02 00 5a .d..k..Z..d..d..k..Z..d..d..k..Z
0040 02 00 64 00 00 64 01 00 6b 03 00 5a 03 00 64 00 00 64 02 00 6b 04 00 6c 05 00 5a 05 00 01 64 00 ..d..d..k..Z..d..d..k..l..Z...d.
0060 00 64 03 00 6b 06 00 6c 07 00 5a 07 00 01 65 05 00 69 08 00 83 00 00 5a 09 00 64 04 00 84 00 00 .d..k..l..Z...e..i.....Z..d.....
0080 5a 0a 00 65 09 00 69 0b 00 64 05 00 84 00 00 83 01 00 5a 0c 00 64 01 00 53 28 06 00 00 00 69 ff Z..e..i..d........Z..d..S(....i.
00a0 ff ff ff 4e 28 01 00 00 00 74 08 00 00 00 74 65 6d 70 6c 61 74 65 28 01 00 00 00 74 08 00 00 00 ...N(....t....template(....t....
00c0 73 65 74 74 69 6e 67 73 63 01 00 00 00 03 00 00 00 04 00 00 00 43 00 00 00 73 32 00 00 00 64 01 settingsc............C...s2...d.
00e0 00 64 02 00 64 03 00 64 04 00 67 04 00 7d 01 00 74 00 00 69 01 00 69 02 00 7c 00 00 83 01 00 64 .d..d..d..g..}..t..i..i..|.....d
0100 05 00 19 7d 02 00 7c 02 00 7c 01 00 6a 06 00 53 28 06 00 00 00 73 2b 00 00 00 44 6f 65 73 20 60 ...}..|..|..j..S(....s+...Does.`
0120 66 69 6c 65 6e 61 6d 65 60 20 61 70 70 65 61 72 20 74 6f 20 62 65 20 61 6e 20 69 6d 61 67 65 20 filename`.appear.to.be.an.image.
0140 66 69 6c 65 3f 73 04 00 00 00 2e 6a 70 67 73 05 00 00 00 2e 6a 70 65 67 73 04 00 00 00 2e 70 6e file?s.....jpgs.....jpegs.....pn
0160 67 73 04 00 00 00 2e 67 69 66 69 01 00 00 00 28 03 00 00 00 74 02 00 00 00 6f 73 74 04 00 00 00 gs.....gifi....(....t....ost....
0180 70 61 74 68 74 08 00 00 00 73 70 6c 69 74 65 78 74 28 03 00 00 00 74 08 00 00 00 66 69 6c 65 6e patht....splitext(....t....filen
01a0 61 6d 65 74 09 00 00 00 69 6d 67 5f 74 79 70 65 73 74 03 00 00 00 65 78 74 28 00 00 00 00 28 00 amet....img_typest....ext(....(.
01c0 00 00 00 73 4e 00 00 00 2f 75 73 72 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 35 2f 73 69 74 65 2d ...sN.../usr/lib/python2.5/site-
01e0 70 61 63 6b 61 67 65 73 2f 69 6e 66 6f 70 6f 69 6e 74 2f 61 67 65 6e 64 61 2f 74 65 6d 70 6c 61 packages/infopoint/agenda/templa
0200 74 65 74 61 67 73 2f 72 61 6e 64 6f 6d 5f 69 6d 61 67 65 2e 70 79 74 0d 00 00 00 69 73 5f 69 6d tetags/random_image.pyt....is_im
0220 61 67 65 5f 66 69 6c 65 0a 00 00 00 73 06 00 00 00 00 02 12 01 16 01 63 01 00 00 00 06 00 00 00 age_file....s..........c........
0240 06 00 00 00 43 00 00 00 73 78 00 00 00 74 00 00 69 01 00 69 02 00 74 03 00 69 04 00 7c 00 00 83 ....C...sx...t..i..i..t..i..|...
0260 02 00 7d 01 00 67 00 00 04 7d 02 00 74 00 00 69 05 00 7c 01 00 83 01 00 44 5d 1e 00 7d 03 00 74 ..}..g...}..t..i..|.....D]..}..t
0280 06 00 7c 03 00 83 01 00 6f 0b 00 01 7c 02 00 7c 03 00 12 71 2c 00 01 71 2c 00 7e 02 00 7d 04 00 ..|.....o...|..|...q,..q,.~..}..
02a0 74 07 00 69 08 00 7c 04 00 83 01 00 7d 05 00 7c 00 00 69 02 00 74 03 00 69 09 00 7c 00 00 7c 05 t..i..|.....}..|..i..t..i..|..|.
02c0 00 83 03 00 53 28 01 00 00 00 73 c5 00 00 00 0a 20 20 20 20 53 65 6c 65 63 74 20 61 20 72 61 6e ....S(....s.........Select.a.ran
02e0 64 6f 6d 20 69 6d 61 67 65 20 66 69 6c 65 20 66 72 6f 6d 20 74 68 65 20 70 72 6f 76 69 64 65 64 dom.image.file.from.the.provided
0300 20 64 69 72 65 63 74 6f 72 79 0a 20 20 20 20 61 6e 64 20 72 65 74 75 72 6e 20 69 74 73 20 68 72 .directory.....and.return.its.hr
0320 65 66 2e 20 60 70 61 74 68 60 20 73 68 6f 75 6c 64 20 62 65 20 72 65 6c 61 74 69 76 65 20 74 6f ef..`path`.should.be.relative.to
0340 20 4d 45 44 49 41 5f 52 4f 4f 54 2e 0a 20 20 20 20 0a 20 20 20 20 55 73 61 67 65 3a 20 20 3c 69 .MEDIA_ROOT...........Usage:..<i
0360 6d 67 20 73 72 63 3d 27 7b 25 20 72 61 6e 64 6f 6d 5f 69 6d 61 67 65 20 22 69 6d 61 67 65 73 2f mg.src='{%.random_image."images/
0380 77 68 61 74 65 76 65 72 2f 22 20 25 7d 27 3e 0a 20 20 20 20 28 0a 00 00 00 52 02 00 00 00 52 03 whatever/".%}'>.....(....R....R.
03a0 00 00 00 74 04 00 00 00 6a 6f 69 6e 52 01 00 00 00 74 0a 00 00 00 4d 45 44 49 41 5f 52 4f 4f 54 ...t....joinR....t....MEDIA_ROOT
03c0 74 07 00 00 00 6c 69 73 74 64 69 72 52 08 00 00 00 74 06 00 00 00 72 61 6e 64 6f 6d 74 06 00 00 t....listdirR....t....randomt...
03e0 00 63 68 6f 69 63 65 74 09 00 00 00 4d 45 44 49 41 5f 55 52 4c 28 06 00 00 00 52 03 00 00 00 74 .choicet....MEDIA_URL(....R....t
0400 08 00 00 00 66 75 6c 6c 70 61 74 68 74 04 00 00 00 5f 5b 31 5d 74 01 00 00 00 66 74 09 00 00 00 ....fullpatht...._[1]t....ft....
0420 66 69 6c 65 6e 61 6d 65 73 74 04 00 00 00 70 69 63 6b 28 00 00 00 00 28 00 00 00 00 73 4e 00 00 filenamest....pick(....(....sN..
0440 00 2f 75 73 72 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 35 2f 73 69 74 65 2d 70 61 63 6b 61 67 65 ./usr/lib/python2.5/site-package
0460 73 2f 69 6e 66 6f 70 6f 69 6e 74 2f 61 67 65 6e 64 61 2f 74 65 6d 70 6c 61 74 65 74 61 67 73 2f s/infopoint/agenda/templatetags/
0480 72 61 6e 64 6f 6d 5f 69 6d 61 67 65 2e 70 79 74 0c 00 00 00 72 61 6e 64 6f 6d 5f 69 6d 61 67 65 random_image.pyt....random_image
04a0 10 00 00 00 73 08 00 00 00 00 08 18 01 3b 01 0f 01 28 0d 00 00 00 52 02 00 00 00 52 0c 00 00 00 ....s........;...(....R....R....
04c0 74 09 00 00 00 70 6f 73 69 78 70 61 74 68 52 03 00 00 00 74 06 00 00 00 64 6a 61 6e 67 6f 52 00 t....posixpathR....t....djangoR.
04e0 00 00 00 74 0b 00 00 00 64 6a 61 6e 67 6f 2e 63 6f 6e 66 52 01 00 00 00 74 07 00 00 00 4c 69 62 ...t....django.confR....t....Lib
0500 72 61 72 79 74 08 00 00 00 72 65 67 69 73 74 65 72 52 08 00 00 00 74 0a 00 00 00 73 69 6d 70 6c raryt....registerR....t....simpl
0520 65 5f 74 61 67 52 14 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 4e 00 00 00 2f 75 e_tagR....(....(....(....sN.../u
0540 73 72 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 35 2f 73 69 74 65 2d 70 61 63 6b 61 67 65 73 2f 69 sr/lib/python2.5/site-packages/i
0560 6e 66 6f 70 6f 69 6e 74 2f 61 67 65 6e 64 61 2f 74 65 6d 70 6c 61 74 65 74 61 67 73 2f 72 61 6e nfopoint/agenda/templatetags/ran
0580 64 6f 6d 5f 69 6d 61 67 65 2e 70 79 73 08 00 00 00 3c 6d 6f 64 75 6c 65 3e 01 00 00 00 73 10 00 dom_image.pys....<module>....s..
05a0 00 00 0c 01 0c 01 0c 01 0c 01 10 01 10 02 0c 02 09 06 ..................