2008-3-26

23:47 davidcramer
thebitguru: i can host you, but i dont charge
23:47 Magus-
davidcramer: because a query died
23:47 davidcramer
but it cant be a big website :)
23:47 thebitguru
davidcramer: really? where? :)
23:47 wolfe
davidcramer: turn debugging on the postgresql server like you should have in the first palce
23:47 davidcramer
Magus-: yes, but why did it die :P
23:47 thebitguru
what's big?
23:47 Magus-
you need to look at query logs to figure out what one
23:47 davidcramer
oh
23:47 davidcramer
wolfe: no one told me that
23:47 davidcramer
thebitguru: how much traffic do you get
23:47 wolfe
\this is why developers have something called a development server
23:47 Magus-
davidcramer: the big thing with that error is that it is /not/ that query that's erroring
23:47 davidcramer
this is the dev server wolfe
23:47 Magus-
a previous one died, screwing over the connection
23:47 Magus-
so everything will die
23:47 wolfe
davidcramer: well, then there should be logs
23:47 davidcramer
Magus-: ya, thats usually what i see
23:47 davidcramer
but thats the only error im seeing on this
23:47 davidcramer
k let me check
23:47 wolfe
I enable full details on my server logs
23:48 Magus-
so you'll see that error on things like "SET TIMEZONE" :)
23:48 davidcramer
know the default log location?
23:48 wolfe
people are screwed up
23:48 wolfe
there should be no other timezones set on the server but UTC
23:49 wolfe
anything else doesn't exist in my mind, because the rest are all useless anestheic crap
23:49 davidcramer
23:49 davidcramer
thats what i see
23:50 davidcramer
ohh
23:50 davidcramer
i see the error du :P
23:50 davidcramer
*duh
23:50 Klowner
is there a way to pass one model instance to another model instance's function in a template? I'm having a heck of a type figuring out how to attack this problem
23:50 davidcramer
if i enable debug mode, itll spit those errors back?
23:51 empty
Klowner: maybe with your own custom tag
23:51 Klowner
I suppose one option would be to write a template tag which accepts the two objects
23:51 davidcramer
, theres no way to do it by default?
23:54 davidcramer
hrm how the hell can it be violating the pk key..
23:54 davidcramer
im not setting a pk
23:54 zbyszek
if i have var="My Name" how can i do varname__icontains = var that it would check if one of the two words given is in db ?
23:55 zbyszek
i mean, i wan to check if any of words in var is in db
23:55 davidcramer
hrm
23:55 piquadrat
Hi! I want to render a DateTime Field as two input fields? I guess a custom widget is the way to go, but is this even possible?
23:55 Klowner
zbyszek: like.. "my" or "name" ?
23:56 zbyszek
Klowner: yes, so how would the filter() look like
23:56 empty
zbyszek: Q objects.
23:56 Magus-
you'd need to split it up on your own and build Q objects of course
23:56 zbyszek
not good;/
23:56 empty
piquadrat: checkout the SPlitDateTime widget in extra
23:57 zbyszek
there should be also __icontains__in ;]
23:57 Magus-
makes no sense
23:57 zbyszek
__icontains__in = dict[]
23:57 Magus-
yah, no
23:58 piquadrat
empty: oh, cool! Thanks!
23:58 Magus-
it does not fit any conceptual bit, zbyszek - you're grasping at straws and poorly :)
23:59 Klowner
hmmm, how would you do that. map(lambda x: Q(varname__icontains=x), "one two chicken".split(' ')) then.. or them
Page 30 of 30   ← Previous  (2,955 total)