| [00:08:26] |
* |
sebner has quit IRC |
| [00:31:50] |
* |
jek has quit IRC |
| [00:36:34] |
* |
Kaelten has quit IRC |
| [00:41:30] |
<mitsuhiko> |
empty: i give up now. someone else can convince them to fix it |
| [00:42:13] |
<mitsuhiko> |
i noticed that the devs can declare all my points invalid if they insist of parsing each request |
| [00:59:37] |
* |
jinks has quit IRC |
| [01:06:09] |
<ronny> |
mitsuhiko: for they arent hackers, else they would admit shit they do and fix it |
| [01:22:44] |
* |
jinks has joined #pocoo |
| [01:33:55] |
* |
jek has joined #pocoo |
| [02:11:07] |
* |
davidcramer has quit IRC |
| [02:26:14] |
* |
davidcramer has joined #pocoo |
| [02:31:55] |
* |
leche has quit IRC |
| [02:39:04] |
* |
davidcramer has quit IRC |
| [02:56:31] |
* |
davidcramer has joined #pocoo |
| [03:05:31] |
* |
jek has quit IRC |
| [03:09:58] |
* |
davidcramer has quit IRC |
| [03:15:13] |
* |
jek has joined #pocoo |
| [03:43:36] |
* |
davidcramer has joined #pocoo |
| [03:57:59] |
* |
Tik-Tok has quit IRC |
| [04:00:05] |
* |
isox has joined #pocoo |
| [04:03:01] |
<isox> |
Anyone happen to be around? I'm having a strange issue with pygments. I'm running some text I'm getting from a QTextEdit object (converted to a String), through highlight() with a HtmlFormatter... its removing newlines when it formats the data. Not sure if this is a bug or if I'm using the formatter wrong. |
| [04:23:39] |
* |
rawb has quit IRC |
| [04:32:22] |
* |
isox has quit IRC |
| [05:01:39] |
* |
Tik-Tok has joined #pocoo |
| [05:10:31] |
* |
Baumichel has quit IRC |
| [05:36:51] |
* |
Tik-Tok has left #pocoo |
| [07:51:13] |
* |
leche has joined #pocoo |
| [09:05:31] |
<ronny> |
moin |
| [09:33:38] |
* |
leche has quit IRC |
| [09:57:54] |
<davidcramer> |
haha |
| [09:57:55] |
<davidcramer> |
WickedMetalHead: I just watched your talk from DjangoCon, I just wanted to say thank you for turning me towards Jinja, and alternative templating in general |
| [09:57:57] |
<davidcramer> |
the revolution begins! |
| [09:58:16] |
<ronny> |
hu? |
| [09:58:56] |
<davidcramer> |
i put up a slide w/ benchmarks for jinja in my presentation :P |
| [11:07:48] |
<saptah> |
url of the talk? please :) |
| [11:09:12] |
<mitsuhiko> |
that's what they earn for not supporting function calls: http://code.djangoproject.com/ticket/7239 |
| [11:09:25] |
* |
mitsuhiko mumbles {% trans foo=url(...) %}...{{ foo }}...{% endtrans %} |
| [11:18:00] |
<david`bgk> |
mmmh I should fix that bug now that url ... as ... works |
| [11:38:56] |
<mitsuhiko> |
{% url ... as t_url %}{% blocktrans %}...{{ t_url }}...{% endblocktrans %} |
| [11:39:00] |
<mitsuhiko> |
sure. that's a lot better :D |
| [11:45:38] |
<dennda> |
is that the equivalent of {{ url_for(..) }}? |
| [11:49:12] |
* |
grumpy has joined #pocoo |
| [11:55:51] |
<CIA-49> |
Jinja 2: gbrandl trunk * 579:e8ac012041b6 /jinja2/ (bccache.py environment.py): Some typos. |
| [11:56:08] |
<mitsuhiko> |
birkenfeld: :D |
| [12:23:01] |
<david`bgk> |
mitsuhiko, better than nothing for sure ;) |
| [12:30:11] |
* |
grumpy has quit IRC |
| [12:35:54] |
<david`bgk> |
mitsuhiko, what do you think of http://www.djangosnippets.org/snippets/1061/ ? |
| [12:37:00] |
<mitsuhiko> |
i think you could do a bit better, namely getting rid of JINJA_FILTERS and provide something like add_django_library |
| [12:37:10] |
<mitsuhiko> |
and then add_django_library("i18n") etc. |
| [12:37:21] |
<mitsuhiko> |
the libraries are available in django.template i think |
| [12:39:25] |
* |
grumpy has joined #pocoo |
| [12:40:11] |
<mitsuhiko> |
(would only work for filters though) |
| [12:41:43] |
<david`bgk> |
ok thanks |
| [13:03:21] |
* |
jinks has quit IRC |
| [13:25:42] |
* |
jinks has joined #pocoo |
| [13:42:29] |
* |
jinks has quit IRC |
| [13:45:33] |
* |
jinks has joined #pocoo |
| [13:46:53] |
* |
jinks has quit IRC |
| [13:48:00] |
* |
jinks has joined #pocoo |
| [13:51:20] |
* |
jinks has quit IRC |
| [13:52:07] |
* |
jinks has joined #pocoo |
| [13:53:58] |
* |
jinks has quit IRC |
| [13:54:10] |
* |
jinks has joined #pocoo |
| [13:54:32] |
* |
jinks has quit IRC |
| [13:55:05] |
* |
jinks has joined #pocoo |
| [13:58:35] |
* |
grumpy has quit IRC |
| [14:09:44] |
* |
grumpy has joined #pocoo |
| [14:44:22] |
* |
grumpy has quit IRC |
| [14:57:06] |
* |
leche has joined #pocoo |
| [14:58:58] |
* |
Kaelten has joined #pocoo |
| [15:26:46] |
* |
friedel has joined #pocoo |
| [15:28:58] |
* |
rafael_ has joined #pocoo |
| [15:30:17] |
* |
rafael_ is now known as rafael |
| [15:30:38] |
<rafael> |
hi |
| [15:31:45] |
<rafael> |
mitsuhiko: i have the problem that i get a strange rfc1... error from sqlalchemy because a setting is not correct and when i look at the ini its deleted. that happens after i played with the url options |
| [15:43:58] |
* |
stifal has joined #pocoo |
| [15:46:32] |
<rafael> |
and how to give a default value which i take from the configuration to the form? eg. here http://paste.pocoo.org/show/85686/ |
| [15:52:39] |
<benoitc> |
http://couchit.net another web based on werkzeug ;) |
| [16:15:56] |
* |
maix has joined #pocoo |
| [16:20:32] |
* |
rafael__ has joined #pocoo |
| [16:21:42] |
* |
rafael has quit IRC |
| [16:30:46] |
* |
rafael__ has quit IRC |
| [16:37:25] |
* |
kaelten_ has joined #pocoo |
| [16:54:19] |
* |
Kaelten has quit IRC |
| [17:02:43] |
* |
maix_ has joined #pocoo |
| [17:04:08] |
* |
maix_ is now known as miax |
| [17:04:13] |
* |
maix has quit IRC |
| [17:04:14] |
* |
miax is now known as maix |
| [17:09:33] |
* |
leche has quit IRC |
| [17:34:46] |
* |
prencher^ has joined #pocoo |
| [17:36:41] |
* |
kaelten_ has quit IRC |
| [17:36:42] |
* |
prencher has quit IRC |
| [17:36:42] |
* |
empty has quit IRC |
| [17:42:26] |
* |
prencher has joined #pocoo |
| [17:42:27] |
* |
empty has joined #pocoo |
| [17:42:32] |
* |
Kaelten has joined #pocoo |
| [17:51:43] |
* |
prencher has quit IRC |
| [18:02:29] |
* |
isox has joined #pocoo |
| [18:02:48] |
<isox> |
Hello, anyone awake who can give me a hand with pygments? |
| [18:08:19] |
<ronny> |
whats up? |
| [18:13:28] |
* |
friedel has quit IRC |
| [18:31:43] |
<isox> |
ronny, im calling highlight() with the HtmlFormatter() and it seems to be removing new lines |
| [18:31:54] |
<isox> |
ronny, do you know if this is the expected behavior? |
| [18:32:24] |
<isox> |
I did file a bug on it incase it wasn't expected but havent' heard back on the bug yet. |
| [18:38:03] |
<tux21b> |
isox, there is a option to control this behavior. one moment i will look it up |
| [18:38:53] |
<tux21b> |
isox, http://pygments.org/docs/lexers/ <-- search for stripnl |
| [18:50:01] |
<isox> |
ahh |
| [18:50:04] |
<isox> |
let me try that real quick |
| [18:51:24] |
* |
sebner has joined #pocoo |
| [18:55:21] |
<isox> |
tux21b that didn't work :( |
| [19:00:31] |
<isox> |
tux21b this is what I'm doing: higlight(txt, PythonLexer(stripnl=False), HtmlFormatter()) |
| [19:02:55] |
<aa_> |
Arrrrrr, shiver me timbers! |
| [19:03:23] |
<isox> |
I've also tried specifying lineseparator="\n" to HtmlFormatter |
| [19:03:28] |
<isox> |
that doesn't seem to work either |
| [19:04:28] |
* |
steg shivers aa_'s timbers |
| [19:04:47] |
<aa_> |
steg: arrrr! |
| [19:09:28] |
<steg> |
aa_: i thought you were going to bed! |
| [19:10:49] |
* |
highwaychile has joined #pocoo |
| [19:11:13] |
<aa_> |
steg: I slept and awoke |
| [19:11:22] |
<aa_> |
feel like a freshly laid turd |
| [19:11:32] |
<aa_> |
me hearties |
| [19:13:54] |
* |
heikkit has joined #pocoo |
| [19:22:54] |
* |
Baumichel has joined #pocoo |
| [19:49:43] |
<tux21b> |
isox, sry, i was afk. please ask birkenfeld maybe he can help you (or otherwise he will tell you to file a bug report) |
| [19:49:54] |
<isox> |
tux21b k |
| [20:16:56] |
* |
tux21b has quit IRC |
| [20:18:52] |
* |
tux21b has joined #pocoo |
| [20:23:46] |
* |
tux21b has quit IRC |
| [20:27:16] |
* |
tux21b has joined #pocoo |
| [20:35:23] |
<CIA-49> |
Pygments: gbrandl trunk * 667:a471fde4e814 / (CHANGES pygments/lexer.py): Fix newline problem. |
| [20:40:21] |
* |
rafael_ has joined #pocoo |
| [21:15:22] |
* |
prencher has joined #pocoo |
| [21:15:40] |
* |
sebner has quit IRC |
| [21:16:08] |
* |
sebner has joined #pocoo |
| [21:31:27] |
* |
prencher^ has quit IRC |
| [21:33:49] |
* |
rafael__ has joined #pocoo |
| [21:45:44] |
* |
rafael__ has quit IRC |
| [21:50:50] |
* |
rafael_ has quit IRC |
| [21:55:44] |
* |
izibi has joined #pocoo |
| [22:19:44] |
* |
isox has quit IRC |
| [22:54:03] |
* |
aconbere has joined #pocoo |
| [23:02:14] |
* |
isox has joined #pocoo |
| [23:07:39] |
* |
izibi has quit IRC |
| [23:30:44] |
* |
isox has quit IRC |
| [23:39:40] |
* |
aconbere has quit IRC |