Tuesday, 2009-06-02

*** tpb has joined #melange00:00
*** scorche has quit IRC00:33
*** scorche has joined #melange00:40
*** tansell--laptop has quit IRC00:48
*** tansell--laptop has joined #melange00:48
*** ajaksu is now known as ajaksu_away01:00
*** jamtoday1 has joined #melange01:11
jamtoday1jamtoday: ping01:11
*** madrazr has joined #melange02:06
*** ChanServ sets mode: +v madrazr02:06
*** penyaskito has quit IRC02:29
*** madrazr has quit IRC02:38
*** scorche has quit IRC05:32
*** scorche has joined #melange05:38
jamtoday1ajaksu_away: A SurveySeeder class and adding survey references in the right places is all that's needed for seed_db.py05:45
*** Merio has joined #melange05:58
*** ajaksu_away is now known as ajaksu06:22
ajaksujamtoday: thanks, ill work on that now06:26
*** florinciu has joined #melange07:03
*** dr__house has joined #melange07:25
*** madrazr has joined #melange08:41
*** ChanServ sets mode: +v madrazr08:41
*** Shaan7 has joined #melange08:42
*** Shaan7 has quit IRC09:07
*** Shaan7 has joined #melange09:10
*** madrazr has left #melange09:10
*** Shaan7 has quit IRC09:17
*** madrazr has joined #melange09:38
*** ChanServ sets mode: +v madrazr09:38
*** Merio1 has joined #melange10:21
*** Merio has quit IRC10:26
ajaksujamtoday: we now have seed_db support for surveys and survey answers, both are kinda rough but a real improvement over creating surveys by hand :)10:42
*** dr__house has quit IRC11:05
*** solydzajs has joined #melange12:18
*** ChanServ sets mode: +o solydzajs12:18
*** MatthewWilkes has joined #melange12:38
*** MatthewWilkes has joined #melange12:40
*** solydzajs has quit IRC12:56
*** solydzajs has joined #melange12:59
*** ChanServ sets mode: +o solydzajs12:59
*** solydzajs has quit IRC12:59
*** dr__house has joined #melange13:08
*** penyaskito has joined #melange14:03
*** dhaun has joined #melange14:12
jamtodayajaksu: incredible! I had started to work on it last night but you beat me to it14:54
jamtodayas soon as i get back to my desktop ill pull your latest changeset14:55
ajaksujamtoday: I didn't finish anything and I'll have to focus on other things for the next 6 hours, so feel free to undo the stupid things I've done and to improve the useful ones :)14:56
*** Merio1 has quit IRC15:24
*** Merio has joined #melange15:25
madrazrSRabbelier: ping16:09
SRabbeliermadrazr: pong!16:09
madrazrSRabbelier: cool!16:09
SRabbeliermadrazr: sup?16:09
madrazrI have a question regarding URL mapping to views16:10
SRabbeliermadrazr: what about it?16:10
madrazrin app/soc/views/helper/params.py I am replacing all soc.models.view with '%(module_path)s.%(module_name)s.edit', 'Edit %(name_short)s')]16:10
madrazrsomething like that16:10
madrazrSRabbelier: ouch s/soc.models.view/soc.views.models/16:11
SRabbeliermadrazr: right16:11
madrazrI also made params['module_path'] to default to soc.views.models16:11
SRabbeliermadrazr: ok, good16:11
madrazrnow how to make sure params['module_path'] is used while expanding '%(module_path)s.%(module_name)s.edit', 'Edit %(name_short)s')] ?16:12
SRabbeliermadrazr: why wouldn't it be?16:12
madrazrSRabbelier: I need not worry about it? you just pass the dictionary params while expanding this string?16:12
SRabbeliermadrazr: I'm not sure why they wouldn't be used?16:13
madrazrSRabbelier: no I am just asking you to clarify, if %(module_path)s will be replaced from params and I need not worry about it?16:14
SRabbeliermadrazr: are you asking about basic python string expansion, or do you worry there is something wrong with %(module_path)s?16:15
madrazrSRabbelier: I am asking if same basic Python string expansion is used while replacing these dictionary keys of params?16:16
SRabbeliermadrazr: try it in the interactive interpreter, if you have a string with "%(foo)s is a %(bar)s" and you feed it a dictionary with {"foo": 2, "bar": True, "baz": "o hi"}, and see what happens16:17
madrazrSRabbelier: thats fine. I have no issue with it16:18
madrazrSRabbelier: anyways it will be helpful, if you can tell me where that string expansion happens?16:19
SRabbeliermadrazr: mhh, in sitemap.sitemap I think16:19
madrazrSRabbelier: Ok cool! will have a look at it16:19
SRabbeliermadrazr: good luck :)16:19
madrazrSRabbelier: thank you16:20
SRabbeliermadrazr: sorry for being confusing16:20
madrazrSRabbelier: actually I am sorry for not putting it right16:20
SRabbeliermadrazr: np :)16:20
madrazrSRabbelier: I was just wondering if those %(module_name)s are all expanded by basic Python string expansion using params dictionary or it is done manually some where16:21
SRabbeliermadrazr: the former, we'd be silly to do it manually16:21
madrazrSRabbelier: heh Ok :)16:22
madrazrSRabbelier: thanks a lot16:23
SRabbeliermadrazr: np!16:23
madrazrthat solved my confusion and doubt both :P16:23
*** florinciu has quit IRC16:29
*** dr__house has quit IRC16:30
*** madrazr1 has joined #melange16:33
*** madrazr has quit IRC16:36
*** dr__house has joined #melange16:36
*** madrazr1 is now known as madrazr16:36
*** ChanServ sets mode: +v madrazr16:36
jamtoday1ajaksu: the growfield is much better, and the seed_db integration is going to be really helpful16:36
jamtoday1ajaksu: i re-added a role-specific plugin in the JS where you had an older version16:37
*** MatthewWilkes is now known as mwilkes|afk16:38
ajaksujamtoday1: OK, I'll pull from you later tonight :)16:38
*** schultmc has quit IRC16:46
*** schultmc has joined #melange16:46
*** dhaun has quit IRC17:20
*** dr__house has quit IRC17:27
*** madrazr has left #melange17:33
*** tlarsen has joined #melange17:58
*** SRabbelier has quit IRC17:58
*** tlarsen has left #melange17:58
*** tlarsen has joined #melange17:58
*** tlarsen has left #melange18:05
*** mwilkes|afk has quit IRC19:01
*** jamtoday1 has quit IRC20:15
*** Merio has quit IRC20:29
*** lisppaste9 has quit IRC23:02
*** lisppaste9 has joined #melange23:02
*** jamtoday has quit IRC23:56

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!