2009-7-4

22:46 wooboodoo
nuggien: something like that http://pastebin.com/d6357d06
22:48 Belar99
ok, I finally found what I was looking for
23:09 foobarbecue
Belar99: what was the solution?
23:13 Belar99
Using Template directly :)
23:14 the_lord
Hi! I need to make an app for managing banners, it has to be site-aware
23:14 the_lord
how do I add that app? I was thinking making it a middleware, but I'm not sure
23:15 moda
23:18 the_lord
moda, if that's for me, it's not what I want
23:19 the_lord
moda, let me explain it a little better
23:19 the_lord
I have an image gallery app
23:19 the_lord
and a news app
23:19 the_lord
now I want to have a banners app
23:19 the_lord
but the banners would show up in the gallery and news templates
23:20 the_lord
how do I do that?
23:20 the_lord
without modifying the news or gallery apps
23:21 Belar99
use a custom tag ?
23:21 moda
the_lord: without modifing the templates of gallery/news templates?
23:21 the_lord
moda, I will modify the templates
23:21 the_lord
but not the views
23:22 the_lord
Belar99, I thought about that, and also another way is overriding the functions in the banner app
23:23 AxiomShell
hi everyone
23:23 AxiomShell
I'm trying to design a page that's iphone/android friendly
23:24 AxiomShell
what's the best way to do it? sniffing agent?
23:24 AxiomShell
can someone point me a good resource for this in django?
23:25 Belar99
23:25 Belar99
have a look how they did it
23:26 sjl
Hi, I'm using a Form and rendering the fields by hand. I'm placing the errors of individual fields next to the field labels with {{ form.fieldname.errors }} but I can't figure out how to access *just* the __all__ errors to display them by themselves.
23:26 AxiomShell
Belar99: great! thx
23:26 voidus
.non_field_errors
23:26 voidus
sjl: afaik
23:26 sjl
voidus: Yep, works perfectly. Thanks.
23:27 sjl
If only that was in the documentation... :\
23:34 the_lord
Belar99, I think that link solves some of my problems
23:34 Belar99
the_lord: what link ?
23:35 the_lord
23:35 Belar99
that was supposed to help AxiomShell :)
23:36 AxiomShell
Belar99: it did, thanks ;-)
23:36 the_lord
Belar99, I know, but I think I can get some directions for what I want, but if you have other idea...
23:36 Belar99
I don't really, I'm pretty new to django too
Page 21 of 21   ← Previous  (2,039 total)