2010-08-01T00:04:20 vlc so much easier to with the cmdline, i'm impressed 2010-08-01T00:04:27 it's such a simple ui design 2010-08-01T00:04:38 you just type in pause and it pauses, yay :D 2010-08-01T00:07:53 DasIch: and don't forget cvlc 2010-08-01T00:08:59 matrixise: it's awesome isn't it? 2010-08-01T00:09:18 i'm astonished apple didn't come up with that earlier 2010-08-01T00:09:38 anyone got positive experiences of sqlalchemy-migrate ? I'm finding it a bit annoying 2010-08-01T00:09:56 danjac: it's the only solution 2010-08-01T00:10:22 DasIch: I know, it doesn't seem to be cleanly downgrading/upgrading though 2010-08-01T00:10:34 danjac: as long as you don't look at the code of it to closely and don't think about all the ways it could be better you should be fine using it 2010-08-01T00:11:36 danjac: you could replace half of the buggy code in about a third of the code or even less with a better and actually working design 2010-08-01T00:12:32 I'm not planning on doing very many migrations so wondering if I'm just better off doing the changes directly in the SQL 2010-08-01T00:12:39 using numbers for the databases revisions alone makes me want to slap the designer right in the face 2010-08-01T00:13:00 you can't do it more wrong than that 2010-08-01T00:14:26 but it will save memory! 2010-08-01T00:14:30 DasIch: the fact that it's not dropping tables properly is a very annoying factor 2010-08-01T00:14:54 however I've yet to see a migrations system that doesn't have me pulling my hair out 2010-08-01T00:15:14 (metaphorically, I don't have any hair) 2010-08-01T00:15:33 *** frush has quit IRC 2010-08-01T00:17:18 danjac: indeed, sqlalchemy-migrate is not a real solution :/ 2010-08-01T00:18:03 just in case you want to understand the code i recommend drinking a lot before looking at it, smoking weed or both 2010-08-01T00:18:16 DasIch: a wine glass ? :d 2010-08-01T00:18:21 red wine or white ? :d 2010-08-01T00:18:31 or a good belgian beer ? 2010-08-01T00:18:31 :d 2010-08-01T00:18:38 preferably both because your changes of forgetting how it looked like later are higher which safes your brain long term 2010-08-01T00:19:25 I'm reading the documentation of sqlalchemy for a many2many relationship, ;-) I prefer the OpenERP way 2010-08-01T00:19:40 sqlalchemy is actually awesome 2010-08-01T00:20:01 the only orm you can use to actually create models 2010-08-01T00:20:16 with customized querys :D 2010-08-01T00:20:38 are there sphinx commands for including license headers? 2010-08-01T00:21:05 dcolish: you mean :copyright: and :license:? 2010-08-01T00:21:10 yes i do! 2010-08-01T00:21:12 DasIch: with openerp, if you want to create a many2one, you write "user_id" : fields.many2one('users', required=True) 2010-08-01T00:21:12 thanks 2010-08-01T00:21:13 dcolish: you can set it in the conf.pyy 2010-08-01T00:21:24 dcolish: it should be documented somewhere 2010-08-01T00:21:28 and not "user_id : db.Column(db.Integer)" and "user : db.relation(User)" 2010-08-01T00:21:50 sqlalchemy is a bit low level 2010-08-01T00:22:44 as a dba, i think sqlalchemy is wonderful 2010-08-01T00:23:08 may be, but you lose time with some basic functions :/ 2010-08-01T00:23:09 i never liked allowing the orm to add tables implicitly 2010-08-01T00:23:19 lose time? 2010-08-01T00:23:23 how to declare an one2many relation, or a many2many 2010-08-01T00:24:12 you just create the relationship and specify the backref, if its many to many, you tell it which table to use and define that table 2010-08-01T00:24:17 it seems pretty simple to me 2010-08-01T00:24:22 but i'm a dba 2010-08-01T00:24:32 matrixise: once you get the basics it's easy 2010-08-01T00:24:50 I will show you an example with the ORM of OpenERP 2010-08-01T00:25:02 it's a bit much to write but the hard part about writing programs is not the writing part anyway 2010-08-01T00:25:21 If I want to have a many2one : 'user_id' : fields.many2one('res.users', 'User', required=True) 2010-08-01T00:25:27 with sqlalchemy you see directly what is going on 2010-08-01T00:25:53 an one2many : 'child_ids' : fields.one2many('res.users', 'parent_id', 'Children') 2010-08-01T00:26:01 matrixise: also there is elixir if you want sqlalchemy at a higher level 2010-08-01T00:26:26 a many2many : 'group_ids' : fields.many2many('res.groups', 'user_group_rel', 'user_id', 'group_id', 'Groups') 2010-08-01T00:26:40 one line to declare a many2one, many2many and one2many relations 2010-08-01T00:26:41 :/ 2010-08-01T00:27:02 DasIch: yes, I know, elixir has been developed by an old employee of OpenERP S.A. 2010-08-01T00:27:13 *** lakin has quit IRC 2010-08-01T00:27:17 matrixise: the thing is that you have no idea what's really going on there 2010-08-01T00:27:51 DasIch: ?? 2010-08-01T00:27:54 apart from this is a many2many relationship and we do some magic here to make it work 2010-08-01T00:28:31 DasIch: do you know OpenERP ? :D ? have you tried to create an openerp module ? with the ORM ? 2010-08-01T00:28:52 matrixise: i'm just seeing your code and it looks like total magic 2010-08-01T00:29:14 yes, it's magic 2010-08-01T00:29:18 matrixise: however i can agree that this is a matter of preference 2010-08-01T00:29:18 when it comes to databases, magic is always really really bad in the long run 2010-08-01T00:29:26 matrixise: i'm not saying openerp is bad 2010-08-01T00:29:35 matrixise: i just wouldn't use it 2010-08-01T00:29:45 DasIch: don't worry 2010-08-01T00:30:17 matrixise: don't worry i don't worry about anything 2010-08-01T00:30:21 lol 2010-08-01T00:30:41 matrixise: not giving a fuck is a great way of enjoying life 2010-08-01T00:30:48 ;) 2010-08-01T00:31:06 matrixise: somebody is going to give a fuck anyway 2010-08-01T00:31:18 i prefer if it isn't me 2010-08-01T00:32:14 question, elixir is dead? 2010-08-01T00:32:24 i don't know 2010-08-01T00:32:35 sqla declarative did a good job of killing it 2010-08-01T00:46:13 *** donri has joined #pocoo 2010-08-01T00:47:36 danjac: thanks for your code (newsmeme) 2010-08-01T00:47:53 *** hasenj has joined #pocoo 2010-08-01T00:47:56 very usefull to understand the many2many relation with sqlalchemy and flask-sqlalchemy 2010-08-01T00:48:00 np. Just working on it now in fact, hence the question on sqlalchemy ;-) 2010-08-01T00:48:13 yay for birthdays :D 2010-08-01T00:50:36 if you find an elegant way for the migration, I'm interested 2010-08-01T00:50:52 *** LuitvD has quit IRC 2010-08-01T00:54:17 *** hasen has joined #pocoo 2010-08-01T00:56:32 *** iElectric has quit IRC 2010-08-01T00:56:55 *** ms4py has left #pocoo 2010-08-01T00:58:04 *** hasenj has quit IRC 2010-08-01T01:12:46 *** iElectric has joined #pocoo 2010-08-01T01:19:23 *** Wizzup_ has joined #pocoo 2010-08-01T01:21:46 danjac: ? 2010-08-01T01:22:04 earlier question on sqlalchemy-migrate 2010-08-01T01:22:15 how to use the cascade and delete ? 2010-08-01T01:22:40 *** Wizzup has quit IRC 2010-08-01T01:24:21 no, just some issues with sqlalchemy-migrate not dropping tables 2010-08-01T01:24:53 I've yet to see a migration system that does not tie you up in knots 2010-08-01T01:24:59 *** mcdonc has quit IRC 2010-08-01T01:25:12 *** mcdonc has joined #pocoo 2010-08-01T01:25:20 or cause major issues with live data 2010-08-01T01:25:49 maybe it's something you need to do infrequently, with care and using proper DB tools 2010-08-01T01:26:34 *** jmason has quit IRC 2010-08-01T01:28:27 *** asenchi has joined #pocoo 2010-08-01T01:31:21 *** kristallpirat has joined #pocoo 2010-08-01T01:35:48 *** djp__ has joined #pocoo 2010-08-01T01:37:46 does anyone want to look at http://dev.pocoo.org/projects/werkzeug/ticket/475? I have a simple patch attached 2010-08-01T01:39:18 *** ellonweb has joined #pocoo 2010-08-01T01:40:03 i seem to have found a bug in jinja 2010-08-01T01:40:28 ellonweb: great work! what's the bug? 2010-08-01T01:40:34 i have a few places in my template where i test a variable very simply: {% if var %}...{% endif %} 2010-08-01T01:40:52 ellonweb: can you make a simple reproducible testcase? 2010-08-01T01:41:13 if i delete one of them, the same variable is later evaluating to true, whereas the variable is actually undefined 2010-08-01T01:42:12 i'll try 2010-08-01T01:43:04 hmm...it would be nice to add the blinker signals into Flask-SQLAlchemy 2010-08-01T01:43:29 aa_: what's the method to get jinja to render a template from a string? 2010-08-01T01:43:56 every time i need it i always spend 30mins searching through the docs :\ 2010-08-01T01:44:40 from jinja2 import Template; Template(string).render() 2010-08-01T01:44:55 something that easy 2010-08-01T01:45:36 ah yes, dunno how i can forget that :s 2010-08-01T01:45:53 because it changed from jinja1 to jinja2 I thing 2010-08-01T01:46:17 danjac: ? 2010-08-01T01:46:19 ping 2010-08-01T01:46:33 matrixise:pong 2010-08-01T01:46:53 danjac: Can I copy your timesince function from newsmeme for my project ? 2010-08-01T01:47:21 matrixise: I've added it as a Flask snippet, for that purpose 2010-08-01T01:47:27 so please do 2010-08-01T01:47:30 thanks 2010-08-01T01:54:31 *** Arfrever has quit IRC 2010-08-01T01:57:46 aa_: i couldn't reproduce it 2010-08-01T01:57:51 from scratch* 2010-08-01T01:57:59 ellonweb: :( 2010-08-01T01:58:07 ellonweb: still make a bug report on the jinja tracker 2010-08-01T01:58:32 but i noticed while i was taking apart my main template to try and work it down, when i removed a with block, that resolved the problem 2010-08-01T01:58:50 and the stuff in the with didn't need to be in a with, so i'm sorted 2010-08-01T01:59:19 where's the tracker? 2010-08-01T01:59:33 should say on the jinja2 site 2010-08-01T01:59:45 was thedev.pocoo.org trac 2010-08-01T01:59:51 the dev... 2010-08-01T02:00:26 ah found it 2010-08-01T02:00:37 do i need to register to make a ticket? :( 2010-08-01T02:01:09 guest/guest works! 2010-08-01T02:06:04 oh 2010-08-01T02:06:10 managed to reproduce it :)) 2010-08-01T02:06:55 *** lawer has joined #pocoo 2010-08-01T02:08:33 ellonweb: excellent 2010-08-01T02:13:33 http://dev.pocoo.org/projects/jinja/ticket/387 2010-08-01T02:13:43 formatting came out pretty crappy :/ 2010-08-01T02:16:51 *** cqpx has joined #pocoo 2010-08-01T02:17:04 *** cqpx has left #pocoo 2010-08-01T02:17:26 *** cqpx has joined #pocoo 2010-08-01T02:17:35 *** cqpx has left #pocoo 2010-08-01T02:17:39 *** cqpx has joined #pocoo 2010-08-01T02:17:56 *** cqpx has left #pocoo 2010-08-01T02:19:24 *** iElectric has quit IRC 2010-08-01T02:19:58 *** iElectric has joined #pocoo 2010-08-01T02:20:03 *** djp__ has quit IRC 2010-08-01T02:44:20 *** donri has quit IRC 2010-08-01T02:44:42 *** empty has joined #pocoo 2010-08-01T02:47:37 *** danjac has quit IRC 2010-08-01T02:56:22 *** empty has quit IRC 2010-08-01T02:58:21 *** empty has joined #pocoo 2010-08-01T03:05:27 *** hasen has quit IRC 2010-08-01T03:12:37 *** asenchi has quit IRC 2010-08-01T03:33:39 *** djp__ has joined #pocoo 2010-08-01T03:41:32 *** asenchi has joined #pocoo 2010-08-01T03:43:41 *** zenom has joined #pocoo 2010-08-01T03:57:09 *** ronny has quit IRC 2010-08-01T03:57:44 *** zenom has quit IRC 2010-08-01T03:59:13 *** asenchi has quit IRC 2010-08-01T04:17:06 *** ivan` has quit IRC 2010-08-01T04:17:15 *** ivan` has joined #pocoo 2010-08-01T04:19:52 *** NamNT has joined #pocoo 2010-08-01T04:21:07 *** MadProfessor has quit IRC 2010-08-01T04:35:09 *** whit has joined #pocoo 2010-08-01T04:35:21 *** djp__ has quit IRC 2010-08-01T04:42:49 *** whit has quit IRC 2010-08-01T04:56:16 *** whit has joined #pocoo 2010-08-01T05:32:54 *** cqpx has joined #pocoo 2010-08-01T06:06:59 so... how exactly does one fold a |substitution| into say a url? 2010-08-01T06:07:03 * ferringb isn't having much luck 2010-08-01T06:08:11 ferringb: substitutions should not be used for urls 2010-08-01T06:08:23 ferringb: we have named urls for that 2010-08-01T06:09:16 ferringb: eg foo_ or `foo bar`_ somewhere in the text and at the end you have .. _foo: http://foo.com/ or .. _`foo bar`: http://foo-bar.com/ 2010-08-01T06:09:51 grok 2010-08-01T06:09:52 ferringb: however that's explained in more detail in the restructered text markup reference 2010-08-01T06:09:54 *** zenom has joined #pocoo 2010-08-01T06:10:18 I'm trying to do .. _some_url: http://server/releases/|release|.tar.bz2 specifically 2010-08-01T06:10:45 |release| however is not being substituted. trying to find a way to make it do that, beyond forcing the definition in conf 2010-08-01T06:11:46 DasIch: thoughts? 2010-08-01T06:13:22 i don't think that's allowed 2010-08-01T06:13:49 nard. 2010-08-01T06:13:54 kind of was figuring that unfortunately 2010-08-01T06:23:04 *** mr_amit has joined #pocoo 2010-08-01T06:31:12 *** empty has quit IRC 2010-08-01T06:32:33 *** kristallpirat has quit IRC 2010-08-01T06:38:56 *** empty has joined #pocoo 2010-08-01T06:46:59 *** moraes has quit IRC 2010-08-01T06:47:41 *** mr_amit has quit IRC 2010-08-01T06:49:14 *** mr_amit has joined #pocoo 2010-08-01T07:03:22 *** empty has quit IRC 2010-08-01T07:13:24 *** empty has joined #pocoo 2010-08-01T07:13:31 *** whit has quit IRC 2010-08-01T07:23:57 *** empty has quit IRC 2010-08-01T07:53:52 *** hasenj has joined #pocoo 2010-08-01T07:54:59 *** nullie has joined #pocoo 2010-08-01T08:22:36 *** cqpx has left #pocoo 2010-08-01T08:39:01 *** hasen has joined #pocoo 2010-08-01T08:41:54 *** hasenj has quit IRC 2010-08-01T08:45:22 *** nullie has quit IRC 2010-08-01T08:50:52 *** LuitvD has joined #pocoo 2010-08-01T09:26:38 *** akrill has joined #pocoo 2010-08-01T09:30:52 *** piranha has joined #pocoo 2010-08-01T09:31:19 *** piranha has quit IRC 2010-08-01T09:31:36 *** piranha_ has joined #pocoo 2010-08-01T09:31:55 flask rocks. 2010-08-01T09:50:45 ++ 2010-08-01T10:01:55 lol, my twitter bot is missing tweets again 2010-08-01T10:04:09 twitter is down 2010-08-01T10:04:23 missing more tweets because of twitter today than by it's own fault in the last 3 months 2010-08-01T10:04:32 I know, planned maintenance 2010-08-01T10:07:11 I wonder what maintenance is worth spending 5 hours of global downtime on ... 2010-08-01T10:08:10 especially on my birthday ... 2010-08-01T10:12:18 Good morning. 2010-08-01T10:12:23 aa_: Oi, had the interviews yet? 2010-08-01T10:15:42 gee, that's a Dutch name... 2010-08-01T10:18:41 Jup 2010-08-01T10:18:46 100% 2010-08-01T10:19:05 the nick name not so much... 2010-08-01T10:21:21 * ferringb grumbles 2010-08-01T10:21:47 ? 2010-08-01T10:21:52 when autosummarizing a module... what obvious thing am I missing to make it respect __all__ ? 2010-08-01T10:30:13 asmodai: yes 2010-08-01T10:30:22 asmodai: pretty awful affair all-in-all :) 2010-08-01T10:30:24 * ferringb is guessing no one knows... 2010-08-01T10:30:32 either that or I'm missing a faq 2010-08-01T10:33:16 LuitvD: happy birthday 2010-08-01T10:33:22 thx :) 2010-08-01T10:43:55 LuitvD: although I am of an age where birthday is more curse than blessing 2010-08-01T10:44:36 it can't be that bad, can it? 2010-08-01T10:53:53 specifically, the reason I'm noticing it is if you import something from another module, a function/class/whatever, it gets included into the docs 2010-08-01T11:20:04 *** iElectric has quit IRC 2010-08-01T11:32:54 *** piranha_ is now known as piranha 2010-08-01T11:34:00 *** iElectric has joined #pocoo 2010-08-01T11:35:07 *** akrill has quit IRC 2010-08-01T11:50:43 *** donri has joined #pocoo 2010-08-01T11:51:09 *** derdon has joined #pocoo 2010-08-01T11:54:11 *** donri has quit IRC 2010-08-01T11:55:03 aa_: I think I know what you mean :) 2010-08-01T11:58:27 *** Wizzup_ is now known as Wizzup 2010-08-01T12:00:06 *** maxpn has joined #pocoo 2010-08-01T12:04:54 *** NamNT_ has joined #pocoo 2010-08-01T12:07:24 *** NamNT has quit IRC 2010-08-01T12:13:27 *** danjac has joined #pocoo 2010-08-01T12:13:49 *** donri has joined #pocoo 2010-08-01T12:19:38 aa 2010-08-01T12:23:31 *** kamaze has joined #pocoo 2010-08-01T12:29:41 connection hiccup ^^ :P 2010-08-01T12:33:26 *** iE has joined #pocoo 2010-08-01T12:33:51 *** iE is now known as Guest33843 2010-08-01T12:36:32 *** iElectric has quit IRC 2010-08-01T12:43:04 *** Arfrever has joined #pocoo 2010-08-01T12:46:54 *** maxpn has quit IRC 2010-08-01T12:49:53 *** DasIch has quit IRC 2010-08-01T12:50:33 *** Guest33843 has quit IRC 2010-08-01T12:50:53 *** Guest33843 has joined #pocoo 2010-08-01T12:51:22 *** danjac has quit IRC 2010-08-01T12:54:53 *** Guest33843 has quit IRC 2010-08-01T13:02:57 *** DasIch has joined #pocoo 2010-08-01T13:08:30 *** nullie has joined #pocoo 2010-08-01T13:20:34 *** mr_amit has quit IRC 2010-08-01T13:26:18 *** lawer has quit IRC 2010-08-01T14:15:06 *** AKX has joined #pocoo 2010-08-01T14:16:38 Evening. I'm getting the following error with Flask-SQLAlchemy, just pretty much copied from the docs and changed the model definition, trying to do "from myapp import db" now: "sqlalchemy.exc.InvalidRequestError: Class does not have a __table__ or __tablename__ specified and does not inherit from an existing table-mapped class." 2010-08-01T14:18:05 *** N30N has quit IRC 2010-08-01T14:18:08 So uh, what might I be doing wrong? :) 2010-08-01T14:18:25 Did you remove the table name definition by accident? ;p 2010-08-01T14:18:42 I don't see one in the example in http://packages.python.org/Flask-SQLAlchemy/ 2010-08-01T14:19:11 Aheh, well. The docs seem to be wrong. 2010-08-01T14:19:31 Or rather, that example. The flask-sqlalchemy hello.py does have tablename. 2010-08-01T14:20:13 *** N30N has joined #pocoo 2010-08-01T14:20:23 And that example has been fixed in git, it seems... Just that the packages.python.org page doesn't have it. 2010-08-01T14:20:58 mitsuhiko: please update the http://packages.python.org/Flask-SQLAlchemy/ page? :) 2010-08-01T14:21:46 I figured Flask-SQLAlchemy would do some mystical magic to automatically figure out the tablename (say, __class__.__name__.lower() + 's'), and as such didn't even try adding it myself. 2010-08-01T14:23:45 *** ronny has joined #pocoo 2010-08-01T14:34:51 mitsuhiko: if you apply the send_page patch, you mayb want to change the internal calls to send_file so they trigger no deprecation warnings 2010-08-01T14:51:37 *** moraes has joined #pocoo 2010-08-01T15:01:27 *** Y0Gi has left #pocoo 2010-08-01T15:18:21 *** iE has joined #pocoo 2010-08-01T15:18:47 *** iE is now known as Guest14159 2010-08-01T15:20:36 *** Guest14159 is now known as iElectric 2010-08-01T15:23:01 *** cofi has joined #pocoo 2010-08-01T15:42:28 *** temoto has joined #pocoo 2010-08-01T15:43:07 Hello. How to do something like from "_block/render-post.html" import render_post ? 2010-08-01T15:43:59 {% import "_block/render-post.html" %} requires 'as', and anything for 'as' is irrelevant. 2010-08-01T15:44:30 like {% import "_block/render-post.html" as render_post %} and then {{ render_post.render_post(post) }} that's silly 2010-08-01T15:45:03 as util/common/etc/ is fine as long as there's one import, but i have more 2010-08-01T15:46:14 *** ms4py has joined #pocoo 2010-08-01T15:54:49 Sorry, i found that {% from ".." import foo %} already there and works. 2010-08-01T15:55:29 *** ms4py has left #pocoo 2010-08-01T16:14:35 *** temoto has left #pocoo 2010-08-01T16:34:07 *** empty has joined #pocoo 2010-08-01T16:34:22 *** jmason has joined #pocoo 2010-08-01T17:01:00 *** lawer has joined #pocoo 2010-08-01T17:10:45 *** lawer has quit IRC 2010-08-01T17:17:10 *** empty has quit IRC 2010-08-01T17:19:07 *** dav1d has joined #pocoo 2010-08-01T17:21:03 Hello 2010-08-01T17:22:19 I've a apache.conf entry which forbidds to access the phpmyadmin: 2010-08-01T17:22:19 2010-08-01T17:22:20 Order deny,allow 2010-08-01T17:22:20 Deny from all 2010-08-01T17:22:20 2010-08-01T17:22:54 This entry gives a 403 if you try to access /phpmyadmin, zine doesnt "wrap" this error as e.g. a 404 2010-08-01T17:23:10 What can I do, that zine "wraps" this error 2010-08-01T17:23:23 dav1d: apache is at a higher level than zine 2010-08-01T17:23:38 DasIch: so it isn't possible? 2010-08-01T17:23:50 mh 2010-08-01T17:23:51 dav1d: or at a lower one depending on how you look at it, anyway zine never gets the request 2010-08-01T17:23:57 k 2010-08-01T17:24:14 Can zine forbid the access? 2010-08-01T17:34:11 :O I just created a user and gave him some rights (adminpanel, write posts, edit posts) and he can see the mysql password and he can enable/disable plugins, upload plugins 2010-08-01T17:43:11 *** piranha has quit IRC 2010-08-01T17:43:47 *** piranha has joined #pocoo 2010-08-01T17:45:01 zine is strange, I deleted this "user" as user "admin" now always if I want to access the adminpanel I get a 403, so I am not able to login and see the adminpanel 2010-08-01T17:50:44 *** piranha has quit IRC 2010-08-01T17:50:50 *** piranha has joined #pocoo 2010-08-01T17:57:15 *** iElectric has quit IRC 2010-08-01T18:06:29 mm what's the state of current wsgi for python3 btw? what are the open points? 2010-08-01T18:07:18 I cant login, that sucks 2010-08-01T18:09:17 jokey: str vs. bytes 2010-08-01T18:10:43 jokey: one side says everything should be str, the other says everything should be bytes, another side says it should be a mix of the two and all of those sides don't have anything to show which is the best solution 2010-08-01T18:11:24 *** iElectric has joined #pocoo 2010-08-01T18:11:33 jokey: then there is also the group of people that says that wsgi was even in python 2.x not that good in certain points and wants to create something else altogether 2010-08-01T18:12:28 jokey: as you can see it's only a slight disagreement which should resolve once we have only one side because everybody else died 2010-08-01T18:13:15 *** NamNT_ has quit IRC 2010-08-01T18:42:08 *** Eftarjin has joined #pocoo 2010-08-01T18:43:08 *** Eftarjin has quit IRC 2010-08-01T18:47:03 ... this is the main failure of Python 3 :( 2010-08-01T18:47:19 (for web applications, at least) 2010-08-01T18:55:22 so i know alot of you guys are gamers, how is starcraft II ? 2010-08-01T18:57:22 zenom_: I like it so far (have played through roughly half of the campaign and a few multiplayer games with friends) 2010-08-01T18:57:25 *** ee_lars has joined #pocoo 2010-08-01T18:57:40 mq: is it like warcraft in that yo ucannot do stuff without a group of friends? 2010-08-01T18:57:45 But I guess that kind of depends on what you expect/want 2010-08-01T18:57:47 and is it as addictive? 2010-08-01T18:57:48 lol 2010-08-01T18:58:07 zenom_: no idea, I'm not that much of a multiplayer player 2010-08-01T18:58:24 But I hear the bnet matchmaking system is quite good 2010-08-01T19:04:12 is ther ea request-local place to store something? 2010-08-01T19:04:16 (in flask) 2010-08-01T19:05:57 flask.g 2010-08-01T19:06:29 Shyde: is that guarnteed to be request local, not just thread local? 2010-08-01T19:06:46 aa_: it is 2010-08-01T19:07:06 http://flask.pocoo.org/docs/api/#application-globals 2010-08-01T19:07:21 aa_: or at least it's part of the request context so i assume it is 2010-08-01T19:07:45 am asking for something like request.user 2010-08-01T19:10:20 aa_: you can use it for that 2010-08-01T19:10:25 ok thanks 2010-08-01T19:10:26 aa_: http://github.com/mitsuhiko/flask-openid/blob/master/example/example.py 2010-08-01T19:10:49 that's great thanks 2010-08-01T19:12:37 *** Eftarjin has joined #pocoo 2010-08-01T19:16:56 *** Eftarjin has quit IRC 2010-08-01T19:19:31 *** ms4py has joined #pocoo 2010-08-01T19:20:12 *** _zenom has joined #pocoo 2010-08-01T19:20:13 *** _zenom has joined #pocoo 2010-08-01T19:20:27 *** zenom_ has quit IRC 2010-08-01T19:24:01 *** fabricio has joined #pocoo 2010-08-01T19:27:03 *** _zenom has quit IRC 2010-08-01T19:29:40 *** Eftarjin has joined #pocoo 2010-08-01T19:30:37 *** danjac has joined #pocoo 2010-08-01T19:31:47 *** Eftarjin has quit IRC 2010-08-01T19:32:40 *** s0undt3ch has quit IRC 2010-08-01T19:35:30 *** s0undt3ch has joined #pocoo 2010-08-01T19:36:04 *** zenom_ has joined #pocoo 2010-08-01T19:36:04 *** zenom_ has joined #pocoo 2010-08-01T19:36:27 *** iElectric has quit IRC 2010-08-01T19:37:04 *** Eftarjin has joined #pocoo 2010-08-01T19:38:03 *** Eftarjin has quit IRC 2010-08-01T19:39:19 *** tm8522010 has joined #pocoo 2010-08-01T19:48:12 *** lubyou has joined #pocoo 2010-08-01T19:49:51 is there a way to tell jinja to not escape certain characters? im using jinja for an irc bot and it escapes control codes like \003 or \002, which i need to remain untouched since they are used for colours, bold etc 2010-08-01T20:01:24 *** pigletto_ has joined #pocoo 2010-08-01T20:05:30 *** iElectric has joined #pocoo 2010-08-01T20:08:03 *** zepolen_ has joined #pocoo 2010-08-01T20:09:23 *** pigletto_ has quit IRC 2010-08-01T20:09:53 *** pigletto has joined #pocoo 2010-08-01T20:11:19 *** zepolen has quit IRC 2010-08-01T20:12:37 *** ms4py has left #pocoo 2010-08-01T20:13:30 lubyou: the |safe filter can help, I guess 2010-08-01T20:13:47 or rewrite your own filter 2010-08-01T20:15:58 *** zenom_ has quit IRC 2010-08-01T20:16:28 *** zenom_ has joined #pocoo 2010-08-01T20:16:28 *** zenom_ has joined #pocoo 2010-08-01T20:21:26 *** mrx_ has joined #pocoo 2010-08-01T20:24:04 flox thanks, will look into it 2010-08-01T20:29:32 *** pigletto has quit IRC 2010-08-01T20:38:40 *** fuzzyman has joined #pocoo 2010-08-01T20:45:59 *** kristallpirat has joined #pocoo 2010-08-01T20:46:35 *** LuitvD has quit IRC 2010-08-01T21:23:07 donrI: wrote a reply to on testing in mailing list. I like your ideas, but it's not what I'm trying to do with Flask-Testing. Hope I didn't come across too negative. 2010-08-01T21:24:48 *** dav1d has quit IRC 2010-08-01T21:24:56 can the flask testing stuff tell me about my sessions? 2010-08-01T21:26:24 *** nullie has quit IRC 2010-08-01T21:26:48 *** ambv has joined #pocoo 2010-08-01T21:27:20 aa_: you mean as in Flask session ? 2010-08-01T21:27:25 yes 2010-08-01T21:27:38 hmm, it keeps the cookies 2010-08-01T21:28:17 yes the tests are run in test_request_context 2010-08-01T21:28:34 aa_: you use py.test, right ? 2010-08-01T21:28:41 danjac: yes 2010-08-01T21:29:36 I'm looking to add support in Flask-Testing for decorator/function based test methods. May need to pick your brains later in the week, as I'd like to be able to support nose and py.test without too much explicit support for either, if you see what I mean 2010-08-01T21:29:51 (e.g. a decorator both can use for accessing request context) 2010-08-01T21:42:09 *** ellonweb has quit IRC 2010-08-01T21:46:51 *** zenom_ has quit IRC 2010-08-01T21:47:32 *** zenom_ has joined #pocoo 2010-08-01T21:48:40 *** zenom has quit IRC 2010-08-01T21:52:06 *** zenom has joined #pocoo 2010-08-01T22:09:04 *** N30N has quit IRC 2010-08-01T22:11:19 *** N30N has joined #pocoo 2010-08-01T22:17:09 *** Arfrever has quit IRC 2010-08-01T22:26:02 *** cofi has quit IRC 2010-08-01T22:28:55 *** fabricio has quit IRC 2010-08-01T22:35:36 *** danjac has quit IRC 2010-08-01T22:37:18 *** ee_lars has quit IRC 2010-08-01T22:37:33 *** _zenom has joined #pocoo 2010-08-01T22:37:33 *** _zenom has joined #pocoo 2010-08-01T22:38:27 *** zenom_ has quit IRC 2010-08-01T22:38:48 *** zenom has quit IRC 2010-08-01T22:40:31 *** Ergo^ has joined #pocoo 2010-08-01T22:40:42 *** zenom has joined #pocoo 2010-08-01T22:42:35 *** Ergo^ has quit IRC 2010-08-01T22:43:03 *** zenom has quit IRC 2010-08-01T22:43:19 *** _zenom has quit IRC 2010-08-01T22:43:22 *** zenom has joined #pocoo 2010-08-01T22:45:37 *** zenom has quit IRC 2010-08-01T22:46:02 *** zenom has joined #pocoo 2010-08-01T22:51:31 *** zenom has quit IRC 2010-08-01T22:51:42 *** zenom has joined #pocoo 2010-08-01T22:53:52 *** davidcramer has quit IRC 2010-08-01T22:58:15 *** zenom has quit IRC 2010-08-01T23:02:47 *** zenom has joined #pocoo 2010-08-01T23:08:32 *** flox has quit IRC 2010-08-01T23:21:37 *** s0undt3ch has quit IRC 2010-08-01T23:23:30 *** s0undt3ch has joined #pocoo 2010-08-01T23:29:20 *** flox has joined #pocoo 2010-08-01T23:30:23 *** Leonidas has quit IRC 2010-08-01T23:32:53 *** Leonidas has joined #pocoo 2010-08-01T23:32:59 *** kristallpirat has quit IRC 2010-08-01T23:36:39 *** WoLpH has quit IRC 2010-08-01T23:38:51 *** WoLpH has joined #pocoo 2010-08-01T23:41:44 *** mrx_ has quit IRC 2010-08-01T23:48:36 *** piranha has quit IRC 2010-08-01T23:56:06 PyPI update: [Mercurial] new release 2010-08-01T23:58:57 yay