rick_h_ | morning | 13:37 |
---|---|---|
brousch | yes | 13:45 |
snap-l | Good morning | 14:12 |
snap-l | http://openmetalcast.com/2012/12/19/open-metalcast-special-episode-holiday-apocalypse-2012/ | 14:12 |
snap-l | I'm going to promote the heck out of this tomorrow, but it's up today. | 14:13 |
snap-l | Please listen to it. | 14:13 |
rick_h_ | woot | 14:13 |
snap-l | You don't even need to listen to the music itself if you don't want. I want folks to hear the voice-overs. :) | 14:14 |
oktrev | snap-l: going through it now :) | 14:39 |
oktrev | fyi broken link on smells like christmas spirit | 14:39 |
snap-l | bah. will fix | 14:42 |
brousch | I added an abstract model into Django for tracking created at/by and modified at/by. In the end it was very little code, but it took a long time to figure how to do it. That seems typical of my experience with Django | 16:31 |
brousch | Now I have a big headache | 16:33 |
jrwren_ | do you find the new project config of django anoying? | 16:34 |
brousch | Yes, so I use the old one | 16:35 |
jrwren_ | brousch: i'm surprised there isn't a djanog module that does it for you. | 16:35 |
jrwren_ | brousch: err, no, i mean al the apache config when you start a new django project | 16:35 |
brousch | I found solutions for timestamp, but not user | 16:35 |
jrwren_ | i didn't mean 1.3 v 1.4 | 16:35 |
brousch | apache? what is this 2010? | 16:35 |
jrwren_ | nginx then. | 16:36 |
brousch | I didn't have any trouble with it | 16:36 |
jrwren_ | trouble no. | 16:36 |
jrwren_ | but its a pain IMO | 16:36 |
jrwren_ | boiler template b.s. to be done for every site. | 16:36 |
brousch | I didn't really notice that | 16:36 |
jrwren_ | ok, its just me then. | 16:36 |
brousch | boiler template? | 16:36 |
jrwren_ | hehe | 16:37 |
jrwren_ | biolerplate | 16:37 |
jrwren_ | https://en.wikipedia.org/wiki/Boilerplate_code | 16:37 |
brousch | I guess i don't see how that's different from before | 16:37 |
jrwren_ | i mean always | 16:38 |
jrwren_ | not old django v. new django | 16:39 |
jrwren_ | i just mean in general | 16:39 |
jrwren_ | by "new project" i mean every time you make a new django project | 16:39 |
brousch | Oh yes, that's annoying | 16:39 |
brousch | That's django | 16:39 |
jrwren_ | i guess so | 16:40 |
brousch | Outside of the admin, it's all up to you | 16:40 |
brousch | Each app ends up with fixtures/ migrations/ static/ templates/ and __init__.py admin.py models.py tests.py urls.py views.py | 16:42 |
jrwren_ | right | 16:43 |
brousch | Makes me want to turn my monitor sideways to see the tree | 16:43 |
jrwren_ | can I not use django templates without loading settings? | 18:38 |
jrwren_ | hrm.... or... jinja2. | 18:39 |
brousch | http://stackoverflow.com/questions/98135/how-do-i-use-django-templates-without-the-rest-of-django | 18:39 |
jrwren_ | lol, that is where I was. | 18:39 |
jrwren_ | :) | 18:39 |
jrwren_ | tell brousch that I can google too. | 18:39 |
brousch | I'm proud of you :P | 18:39 |
brousch | I would go with jinja if you don't need any other parts of django | 18:40 |
jrwren_ | i kinda like the StringTemplate comment there though. | 18:41 |
jrwren_ | oh wait, its a port from java. no i don't. | 18:41 |
jrwren_ | then again, ANTLR | 18:42 |
jrwren_ | but what bothers me about this is that I know of no reason why those django template classes require settings to be configured. | 18:43 |
rick_h_ | jrwren_: because you either use django or you don't | 18:51 |
rick_h_ | and why the #$@$@ would you want those crappy templates without the rest of django? | 18:52 |
rick_h_ | jinja2 or mako ftw | 18:52 |
rick_h_ | even in django most people drop in jinja2 to replace the built in | 18:52 |
jrwren_ | rick_h_: TY | 18:53 |
jrwren_ | was just trying to "embrace" django :) | 18:53 |
rick_h_ | meh, join the haters club. It's easier over here. You quit thinking you're the one that's wrong and broken :P | 18:53 |
jrwren_ | also, my C# bg really confuses my brain on these things. | 18:54 |
jrwren_ | in .net there is only 1 true way, and maybe a handfull of fringe ways | 18:54 |
jrwren_ | in python there are dozens of true ways and hundreds of fringe. | 18:54 |
rick_h_ | well in python we're not willing to put up with suck and improve things | 18:55 |
rick_h_ | thus jinja2 | 18:55 |
jrwren_ | jinja2 it is. | 18:55 |
jrwren_ | the last thing I templated was Mako | 18:55 |
jrwren_ | but it was small | 18:55 |
brousch | Django is awesome! | 18:56 |
rick_h_ | yea, I <3 mako myself. I find it awesome, but jinja was built to mirror closer to the django api to fit inside of django | 18:56 |
brousch | Stop hatin. Feel the love! | 18:56 |
rick_h_ | and I've used mako just for email tempaltes, etc out of the web framework before easily. Fast! | 18:56 |
rick_h_ | thankfully I'm doing pyramid dev at work now wahoo! | 18:58 |
rick_h_ | keep the h8! | 18:58 |
brousch | rick_h_: How did you convinve them to do that? | 19:00 |
rick_h_ | I got assigned to fix up an existing pyramid project :) | 19:00 |
snap-l | We're sorry that Binding of Issac and Dungeon Defenders are not available. Dungeon Defenders is over our current size limit and the authors of Binding of Issac declined to make their game available and we respect their wishes. | 19:42 |
brousch | snap-l: http://www.youtube.com/watch?v=0jyNYX8974E | 21:07 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!