But even if things go wrong in that function, why would it matter? My commit is already done and i don't have any updates in the other funtion.
rns
anyone know if there is a way to log all logins? I want to be able to basically pull up a list of login history showing username and time they logged in
lyrae has quit
ambar has quit
dray3 joined the channel
Kapura
mattmcc: how do I change the formatting of the form?
mattmcc: nevermind, i think i found what i'm looking for
rns: You could write a custom auth backend, that logs that data to a model.
rns
schmilblick, hmmm, was hoping there was a simple way to do this in the admin
gasull joined the channel
nedbat_ is now known as nedbat
akcx joined the channel
chrisstreeter joined the channel
gasull
if hour == '5:00AM' why this django filter returns empty: {{ hour|date:"h:iA" }}?
epsy joined the channel
\u03b5 has quit
xlorm has quit
chrisstreeter
in django 1.4 I can't seem to get the runserver command to run my wsgi app
I've set WSGI_APPLICATION to the correct spot
sivy has quit
but that file is never loaded or imported
nedbat
gasull: because the |date filter is meant for formatting datetime objects, not strings
ilaggoodly joined the channel
zatan has quit
epsy is now known as \u03b5
gasull
nedbat: thank you
chrisstreeter
any ideas on how to test my wsgi django app is working correctly? the site runs fine with the runserver command, but just doesn't seem to be using my WSGI setting
hyperair has quit
gbel has quit
void
chrisstreeter: you mean how to write a unit test on that?)
chrisstreeter
i guess not test in the unit test sense
but i want to install some wsgi middleware
jpk has quit
__love__ has quit
void
chrisstreeter: check your manage.py. it should use new style
chrisstreeter
and i can't get it to be installed since my wsgi.py file isn't getting called
yeah, it is using the new style
hylinux joined the channel
[mel] joined the channel
jargon- has quit
hylinux has quit
hylinux joined the channel
tlab has quit
nlh joined the channel
void
chrisstreeter: you should probably set settings.WSGI_APPLICATION to the path of your callable
chrisjones has quit
ojh joined the channel
Baribal has quit
keimlink has quit
nothing0 joined the channel
riley526 has quit
schinckel
How do I find the cache key that is being used to cache a view, and remove it?
Leeds joined the channel
mattmcc
It's nontrivial. :P
schinckel
Yeah, I'm looking at the decorator source now.
MolotovMuffin has quit
mattmcc
Depending on how much stuff you're caching, you may spend less time just blowing the whole cache away.
schinckel
Yeah, I cache a lot. But I think I'll do that anyway.
MolotovMuffin joined the channel
mattmcc
Cache invalidation, the second of the two hard problems in programming. :P
grillermo
and object gets evaluated when it is used in the creation of another? i.e. i create an object to be added a to an m2m of another object at creation time
or only when the second is saved()
jdunck has quit
hylinux has quit
hylinux joined the channel
stephenmcd joined the channel
schinckel
grillermo: You can have a listener on a post_save signal.
grillermo
yeah, my problem is i'm creating objects that i might discard later, so i don't want them to be saved to database until the last possible moment
And it's running on a Cpanel based CENTOS 5.8 server
dlam has quit
schinckel joined the channel
…and since it's a survey engine it's being run infrequently
savid has quit
nothing0 has quit
mindlogger joined the channel
chrisstreeter has quit
TopRamen joined the channel
tdelam has quit
grillermo has quit
wuwoot joined the channel
darkpixel has quit
macabre joined the channel
ticketbot has quit
ticketbot joined the channel
mindlogger has quit
goldfish_ has quit
jroll joined the channel
maik has quit
avelino joined the channel
heiths
how can I access the reverse of a forienkey relationship? for example, if I want to count the number of 'tasks' for a given 'date'? http://dpaste.com/792879/
tmitchell has quit
darkpixel joined the channel
nicklo
GrahamDumpleton: Of course you (and others) have responded to a "No such file or directory" error before and it seems changing the socket directory is the key: https://groups.google.com/d/topic/modwsgi/_Ws2X...
Adys_ joined the channel
Adys has quit
StuckMojo joined the channel
zelo has quit
StuckMojo
so....how are foreign keys handled when you delete a row?