*** tpb has joined #melange | 00:00 | |
*** scorche has quit IRC | 00:33 | |
*** scorche has joined #melange | 00:40 | |
*** tansell--laptop has quit IRC | 00:48 | |
*** tansell--laptop has joined #melange | 00:48 | |
*** ajaksu is now known as ajaksu_away | 01:00 | |
*** jamtoday1 has joined #melange | 01:11 | |
jamtoday1 | jamtoday: ping | 01:11 |
---|---|---|
*** madrazr has joined #melange | 02:06 | |
*** ChanServ sets mode: +v madrazr | 02:06 | |
*** penyaskito has quit IRC | 02:29 | |
*** madrazr has quit IRC | 02:38 | |
*** scorche has quit IRC | 05:32 | |
*** scorche has joined #melange | 05:38 | |
jamtoday1 | ajaksu_away: A SurveySeeder class and adding survey references in the right places is all that's needed for seed_db.py | 05:45 |
*** Merio has joined #melange | 05:58 | |
*** ajaksu_away is now known as ajaksu | 06:22 | |
ajaksu | jamtoday: thanks, ill work on that now | 06:26 |
ajaksu | *will | 06:27 |
*** florinciu has joined #melange | 07:03 | |
*** dr__house has joined #melange | 07:25 | |
*** madrazr has joined #melange | 08:41 | |
*** ChanServ sets mode: +v madrazr | 08:41 | |
*** Shaan7 has joined #melange | 08:42 | |
*** Shaan7 has quit IRC | 09:07 | |
*** Shaan7 has joined #melange | 09:10 | |
*** madrazr has left #melange | 09:10 | |
*** Shaan7 has quit IRC | 09:17 | |
*** madrazr has joined #melange | 09:38 | |
*** ChanServ sets mode: +v madrazr | 09:38 | |
*** Merio1 has joined #melange | 10:21 | |
*** Merio has quit IRC | 10:26 | |
ajaksu | jamtoday: 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 IRC | 11:05 | |
*** solydzajs has joined #melange | 12:18 | |
*** ChanServ sets mode: +o solydzajs | 12:18 | |
*** MatthewWilkes has joined #melange | 12:38 | |
*** MatthewWilkes has joined #melange | 12:40 | |
*** solydzajs has quit IRC | 12:56 | |
*** solydzajs has joined #melange | 12:59 | |
*** ChanServ sets mode: +o solydzajs | 12:59 | |
*** solydzajs has quit IRC | 12:59 | |
*** dr__house has joined #melange | 13:08 | |
*** penyaskito has joined #melange | 14:03 | |
*** dhaun has joined #melange | 14:12 | |
jamtoday | ajaksu: incredible! I had started to work on it last night but you beat me to it | 14:54 |
jamtoday | as soon as i get back to my desktop ill pull your latest changeset | 14:55 |
ajaksu | jamtoday: 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 IRC | 15:24 | |
*** Merio has joined #melange | 15:25 | |
madrazr | SRabbelier: ping | 16:09 |
SRabbelier | madrazr: pong! | 16:09 |
madrazr | SRabbelier: cool! | 16:09 |
SRabbelier | madrazr: sup? | 16:09 |
madrazr | I have a question regarding URL mapping to views | 16:10 |
SRabbelier | madrazr: what about it? | 16:10 |
madrazr | in 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 |
madrazr | something like that | 16:10 |
madrazr | SRabbelier: ouch s/soc.models.view/soc.views.models/ | 16:11 |
SRabbelier | madrazr: right | 16:11 |
madrazr | I also made params['module_path'] to default to soc.views.models | 16:11 |
SRabbelier | madrazr: ok, good | 16:11 |
madrazr | now how to make sure params['module_path'] is used while expanding '%(module_path)s.%(module_name)s.edit', 'Edit %(name_short)s')] ? | 16:12 |
SRabbelier | madrazr: why wouldn't it be? | 16:12 |
madrazr | SRabbelier: I need not worry about it? you just pass the dictionary params while expanding this string? | 16:12 |
SRabbelier | madrazr: I'm not sure why they wouldn't be used? | 16:13 |
madrazr | SRabbelier: 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 |
SRabbelier | madrazr: are you asking about basic python string expansion, or do you worry there is something wrong with %(module_path)s? | 16:15 |
madrazr | SRabbelier: I am asking if same basic Python string expansion is used while replacing these dictionary keys of params? | 16:16 |
SRabbelier | madrazr: 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 happens | 16:17 |
madrazr | SRabbelier: thats fine. I have no issue with it | 16:18 |
madrazr | SRabbelier: anyways it will be helpful, if you can tell me where that string expansion happens? | 16:19 |
SRabbelier | madrazr: mhh, in sitemap.sitemap I think | 16:19 |
madrazr | SRabbelier: Ok cool! will have a look at it | 16:19 |
SRabbelier | madrazr: good luck :) | 16:19 |
madrazr | SRabbelier: thank you | 16:20 |
SRabbelier | madrazr: sorry for being confusing | 16:20 |
madrazr | SRabbelier: actually I am sorry for not putting it right | 16:20 |
SRabbelier | madrazr: np :) | 16:20 |
madrazr | SRabbelier: 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 where | 16:21 |
SRabbelier | madrazr: the former, we'd be silly to do it manually | 16:21 |
madrazr | SRabbelier: heh Ok :) | 16:22 |
madrazr | SRabbelier: thanks a lot | 16:23 |
SRabbelier | madrazr: np! | 16:23 |
madrazr | that solved my confusion and doubt both :P | 16:23 |
*** florinciu has quit IRC | 16:29 | |
*** dr__house has quit IRC | 16:30 | |
*** madrazr1 has joined #melange | 16:33 | |
*** madrazr has quit IRC | 16:36 | |
*** dr__house has joined #melange | 16:36 | |
*** madrazr1 is now known as madrazr | 16:36 | |
*** ChanServ sets mode: +v madrazr | 16:36 | |
jamtoday1 | ajaksu: the growfield is much better, and the seed_db integration is going to be really helpful | 16:36 |
jamtoday1 | ajaksu: i re-added a role-specific plugin in the JS where you had an older version | 16:37 |
*** MatthewWilkes is now known as mwilkes|afk | 16:38 | |
ajaksu | jamtoday1: OK, I'll pull from you later tonight :) | 16:38 |
*** schultmc has quit IRC | 16:46 | |
*** schultmc has joined #melange | 16:46 | |
*** dhaun has quit IRC | 17:20 | |
*** dr__house has quit IRC | 17:27 | |
*** madrazr has left #melange | 17:33 | |
*** tlarsen has joined #melange | 17:58 | |
*** SRabbelier has quit IRC | 17:58 | |
*** tlarsen has left #melange | 17:58 | |
*** tlarsen has joined #melange | 17:58 | |
*** tlarsen has left #melange | 18:05 | |
*** mwilkes|afk has quit IRC | 19:01 | |
*** jamtoday1 has quit IRC | 20:15 | |
*** Merio has quit IRC | 20:29 | |
*** lisppaste9 has quit IRC | 23:02 | |
*** lisppaste9 has joined #melange | 23:02 | |
*** jamtoday has quit IRC | 23:56 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!