IRC Logs

2008 10
Mo Tu We Th Fr Sa So
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

11. 10 2008

[00:01:15] * hoffmann has quit IRC
[00:01:16] * [diecast] has quit IRC
[00:02:56] * rotw has joined #pocoo
[00:04:28] <rotw> hm, could it be, that the zine faq is out-of-date?
[00:12:04] <tux21b> might be, there were many changes recently
[00:12:55] <rotw> it still says textpress there...
[00:22:58] <prencher> zine not being consistent? SURELY NOT
[00:25:05] <rotw> prencher: are you sure? you sound convincing! i believe you now!
[00:26:24] <prencher> act now and get free complimentary lack of migrations!
[00:27:27] <aa_> prenchie
[00:38:02] * rotw has quit IRC
[00:47:34] * heikkit has quit IRC
[01:02:19] * sashav has quit IRC
[02:20:06] * izibi has quit IRC
[02:39:44] * maix has quit IRC
[02:56:01] * alowry has quit IRC
[03:02:45] * mtrichardson has quit IRC
[03:09:03] * leche has joined #pocoo
[03:12:25] * aconbere has quit IRC
[03:33:53] * leifkb_ has joined #pocoo
[03:40:58] * hoffmann_ is now known as hoffmann
[03:45:18] * leifkb has quit IRC
[03:48:22] * leifkb_ is now known as leifkb
[04:33:30] * leche has quit IRC
[05:22:35] * hoffmann has quit IRC
[06:14:30] * Crast has quit IRC
[06:49:55] * alowry has joined #pocoo
[07:28:57] * empty has quit IRC
[08:03:09] * alowry has quit IRC
[09:06:23] * EnTeQuAk has joined #pocoo
[09:14:51] * izibi has joined #pocoo
[09:28:31] * _P_ has quit IRC
[10:41:05] * mtrichardson has joined #pocoo
[10:45:26] * mtrichardson has quit IRC
[11:05:59] * jpcw has joined #pocoo
[11:06:33] * leche has joined #pocoo
[11:16:20] * maix has joined #pocoo
[12:28:30] * leche has quit IRC
[13:07:01] * izibi has quit IRC
[13:07:15] * izibi has joined #pocoo
[14:12:41] * jpcw has quit IRC
[14:43:59] * leche has joined #pocoo
[14:45:09] * sashav has joined #pocoo
[14:52:05] * leche_y_galletas has joined #pocoo
[15:03:20] * leche has quit IRC
[15:16:20] * Crast has joined #pocoo
[15:41:28] * sashav has quit IRC
[15:49:26] * jpcw has joined #pocoo
[15:50:52] * Crast has quit IRC
[16:13:23] * saptah_ has joined #pocoo
[16:13:35] <saptah_> hi
[16:14:56] * sashav has joined #pocoo
[16:17:58] * Baumichel has joined #pocoo
[16:28:01] * sashav has quit IRC
[16:29:30] * saptah_ has quit IRC
[16:34:37] * saptah_ has joined #pocoo
[17:02:55] * alowry has joined #pocoo
[17:05:57] * leche_y_galletas is now known as leche
[17:12:13] * alowry has quit IRC
[17:20:36] * EnTeQuAk has quit IRC
[17:27:20] * empty has joined #pocoo
[17:43:55] <saptah_> mitsuhiko: where you put your syntax files? I'm taking about configuring vim. thanks
[18:27:29] * _P_ has joined #pocoo
[18:37:57] * stifal has joined #pocoo
[19:23:21] * Crast has joined #pocoo
[19:26:38] * alowry has joined #pocoo
[19:35:30] * alowry has quit IRC
[19:39:48] * Crast has quit IRC
[19:42:02] * EnTeQuAk has joined #pocoo
[19:45:14] * adaran has joined #pocoo
[19:45:23] <adaran> evening everyone
[19:47:26] <adaran> can someone tell me where to find djangosupport in jinja2?
[19:47:59] * sashav has joined #pocoo
[19:48:49] <adaran> i'm at a bit of a loss, especially since most information i can find on the subject is on davidcramer.net, which is down (at least for me) and not google cached
[19:51:18] <prencher> there is no djangosupport in jinja2
[19:51:45] <prencher> roll your own, it's not hard
[19:52:10] <prencher> kaelten has done some stuff that will eventually be at http://pypi.python.org/pypi/jinja2-django/
[19:52:21] <prencher> he's in here pretty much every day, ask him for it later
[19:53:11] <adaran> hmm there's still some contrib stuff in hg
[19:53:31] <prencher> it's not really relevant last i checked
[19:53:56] <adaran> nevermind i got a jinja1 checkout
[19:56:57] <adaran> as for not that difficult: i guess that depends on how much django experience you have? =)
[19:57:28] <prencher> it doesn't really have anything to do with django
[19:58:16] <prencher> only thing you have to do as fra as django is mimic the render_string/render_to_response arguments and iterate the context processors in there
[19:58:53] <prencher> either way, you should ask kaelten for his stuff, he'll be in here later
[19:59:46] <adaran> well that stuff i can do myself
[19:59:55] <adaran> there's even djangojinja2.py
[20:00:07] <adaran> but i want to use generic views with jinja2, i'm lazy
[20:01:04] <prencher> i kinda doubt you cna easily do that anyway with jinja, those views are pretty django specific
[20:01:13] <prencher> can't say i've tried though, been a long time since i used django
[20:01:20] <prencher> maybe empty knows, he used jinja recently i think
[20:01:51] <adaran> empty, *knock* *knock*
[20:02:46] * sashav has quit IRC
[20:08:46] * sashav has joined #pocoo
[20:21:16] <empty> adaran: yeah I don't know but doubt it will work since the render_to_response is going to direct it to django's templates
[20:22:33] <adaran> well, currently i'm only trying to get a render_to_response equivalent to work. i'm trying to figure out how django's works exactly, as i'd like to include RequestContext as well
[20:36:46] * saptah_ has quit IRC
[20:40:23] * sashav_ has joined #pocoo
[20:41:01] * alowry has joined #pocoo
[20:43:39] * alowry has quit IRC
[20:55:25] * sashav has quit IRC
[21:00:05] * sashav_ has quit IRC
[21:31:18] <mitsuhiko> holy freaking cow, today was a very bad day
[21:31:54] <mitsuhiko> i got totally drunk and when i woke up jörg haider was dead Oo
[21:40:55] <prencher> oh THAT guy
[21:41:06] <prencher> did you kill him in your boozed up state mitsuhiko?
[21:47:11] <birkenfeld> mitsuhiko: haha
[21:47:28] <birkenfeld> mitsuhiko: and why is it so bad that Haider is dead?
[21:48:19] <birkenfeld> I mean, apart from that it's never good when someone dies
[21:48:59] <prencher> why is it bad though?
[21:49:13] <prencher> it's natural
[21:49:24] <birkenfeld> a car crash is natural?
[21:49:31] <prencher> sure
[21:50:34] <adaran> it's nature's way of saying you're driving too fast?
[21:52:38] * EnTeQuAk has quit IRC
[21:53:58] <birkenfeld> well, perhaps he took the advice of our previous prime minister and drank 2 liters of beer before driving
[21:54:23] <prencher> i still think mitsuhiko was involved
[21:54:28] <prencher> i bet haider was anti microsoft
[21:54:50] <birkenfeld> rofl
[21:55:08] <prencher> the implant activated, it's masking it by making him think he was drunk
[21:57:31] <birkenfeld> uh oh - I'm beginning fear for your life
[21:57:51] <birkenfeld> do you think they let you get away with knowing that?
[21:57:53] <adaran> does kaelten have a repository somewhere? =/
[21:59:07] <prencher> adaran - he posted the file somewhere
[21:59:22] <adaran> well, that about narrows it down :P
[21:59:33] <prencher> theres an online log of #pocoo somewhere, i forget where.. google can probably find it
[21:59:38] <prencher> you could try you luck searching that
[21:59:48] <adaran> shit, i'm googling for a solution for my problems
[21:59:58] <adaran> and all i get is live irc logs of the questions i asked about 2 hours ago
[22:00:39] <prencher> adaran - if you find the log site, try searching for "jinja2-django" (without the quotes)
[22:00:59] <prencher> birkenfeld - i have digital pants, they can't touch me
[22:02:09] <adaran> well, i found the cheeseshop project, no code there though =(
[22:04:45] <adaran> prencher, you wouldn't remember the month, would you? =)
[22:05:08] <prencher> i just did a quick search, http://paste.pocoo.org/show/84786/ came up.. i think its a slightly older version but it should get you started
[22:05:40] <adaran> prencher, thanks
[22:08:26] <prencher> http://paste.pocoo.org/show/86675/ heres the latest version he pasted a while back adaran
[22:08:39] <prencher> hopefully he pops in a lil bit
[22:09:21] <adaran> prencher, well it's better then what i found so far =). old one didn't really work well, as you had to convert the requestcontext to a dict or know how django internals work =/
[22:10:09] * alowry has joined #pocoo
[22:17:11] * maix_ has joined #pocoo
[22:22:44] <Leonidas> today folks talked about the death of haider in the context on a searching engine with news. I thought that it was an example, not that it acutally happened
[22:25:24] * maix has quit IRC
[22:25:26] * maix_ is now known as maix
[22:33:56] * saptah has joined #pocoo
[22:34:00] <saptah> hi.
[22:44:50] <ronny> moin
[22:44:51] <adaran> hmm, does jinja cache by default? at the moment, my templates seem to work, but i have to restart the server to refresh them
[22:50:18] * alowry has quit IRC
[22:53:38] <prencher> adaran - auto_reload kwarg to Environment
[22:53:52] <adaran> prencher, yes, the pastbin has a bug
[22:54:15] <prencher> i wouldn't know, not my code
[22:54:19] <adaran> prencher, auto_reload= not settings.TEMPLATE_DEBUG,
[22:54:35] <adaran> prencher, removed the not, now it's fine, assuming that that makes sense
[22:54:46] <adaran> prencher, (auto_reload when coding, no auto_reload on a production site)
[22:54:51] <prencher> yar
[22:55:39] <adaran> anyone know enough python internals to tell me whether i can alter a module by import it, changing one of its functions, and have other imports in different modules in the same app see those changes?
[22:56:25] <birkenfeld> adaran: basically, you can't.
[22:56:46] <adaran> birkenfeld, okay, i'll try a different hack then
[22:56:59] <ronny> adaran: what do you want to do?
[22:57:18] <adaran> make django's generic view use jinja2 with minimum hackage
[22:59:01] <adaran> i may end up copying the sourcefile, changing the import and putting it before the other stuff in the path =/
[22:59:10] <mitsuhiko> adaran: the jinja2 auto reload mechanism is pretty okay for production code too
[22:59:28] <mitsuhiko> it just stats the template file before rendering
[22:59:54] <adaran> mitsuhiko, i don't doubt that. but kaelten has seen it fit to do it that way, since i'm editing his code, i'm trying to keep the changes to a minimum
[23:00:09] <mitsuhiko> just saying ;)
[23:00:18] <adaran> thanks anyway =)
[23:00:26] <adaran> doesn't anyone else here use django?
[23:00:38] <steg> mitsuhiko: is there a way i can pass extra static placeholders in werkzeug routing ?
[23:01:20] <steg> Rule('/foo/', endpoint='site.static', page_name='foo') for instance
[23:01:23] <steg> like in routes
[23:02:14] <mitsuhiko> not really
[23:03:22] <steg> ok
[23:09:07] * sashav has joined #pocoo
[23:15:10] * alowry has joined #pocoo
[23:16:12] * sashav has quit IRC
[23:18:52] * sashav has joined #pocoo
[23:33:11] * stifal has quit IRC
[23:35:14] * alowry has quit IRC
[23:57:50] * sashav has quit IRC