nlh: the problem may be in the get_full_name method
nlh
mstrcnvs, i've checked that - it seems to be working correctly. i.e. I can print it on a previous line
ctcg joined the channel
mstrcnvs
weird..
try returning only the get_full_name on the __str__, see what happens
zemanel has quit
nlh
mstrcnvs, facepalm! Just realised my mistake
mstrcnvs
errrrr.
nlh
user in the admin has no first name or last name
sorry!
mstrcnvs
nice!
nlh
thanks for your help anyway :)
mstrcnvs
funny
I do that all the time
valgrind has quit
happyface
am I going to have a ton of trouble converting my production AUTH_PROFILE_MODULE MySQL db to an AUTH_USER_MODEL database? should I use south?
ctcg has quit
mmcardle joined the channel
mmcardle has quit
mstrcnvs
happyface: you can reuse the profile anyway
notleigh has quit
happyface: or your profile contains things like password?
moneydouble has quit
happyface
mstrcnvs: I'm using an AbstractUser now, so the profile fields are still the same I think
ktosiek has quit
mstrcnvs
didn't understand your question so...
newzen joined the channel
happyface
maybe I should of used the word schema migration?
mstrcnvs
yes, but migrating from what to what?
ktosiek joined the channel
notleigh joined the channel
happyface
profile models with AUTH_PROFILE_MODULE to an AbstractUser with AUTH_USER_MODEL
jrm2k6 has quit
twoolie has quit
pydanny joined the channel
pydanny has quit
darylantony joined the channel
pydanny joined the channel
newzen has quit
gus_uy joined the channel
gus_uy
Hi
im having a problem with django and mod_wsgi
darylantony has quit
schinckel has quit
koobs has quit
schinckel joined the channel
mvt has quit
scott_w has quit
greenrose has quit
scott_w joined the channel
dirn has quit
koleS joined the channel
rafales_ joined the channel
clime
the sad thing is that I am not as much a programmer as I am an aesthetic
koleS_ has quit
hoot joined the channel
rafales has quit
rafales_ is now known as rafales
scott_w_ joined the channel
CouperAlex has quit
scott_w_ has quit
scott_w has quit
greenrose joined the channel
Leeds joined the channel
scott_w joined the channel
twoolie joined the channel
pistache
gus_uy: and what is exactly ?
Reflow joined the channel
pydanny has quit
newzen joined the channel
CouperAlex joined the channel
CouperAlex has quit
EvilDMP has quit
scott_w has quit
dali joined the channel
hetii has quit
kenbolton joined the channel
alexsnake has quit
ambar joined the channel
Ariel_Calzada has quit
BombStrike has quit
hhatch has quit
kbambz has quit
sedeki has quit
ehmatthes has quit
z0ran has quit
hyperair has quit
moeffju joined the channel
erkangur has quit
sedeki joined the channel
estebistec joined the channel
moeffju
Hi. Does Django support multiple STATIC_URLs, i.e. multiple asset servers? I’m trying to parallelize browser downloads further, but can only set one server for static and one for media.
I tried a lambda in the settings, but that obviously didn’t work because Django checks for .endswith etc.
FunkyBob
not really, no
what_larks joined the channel
moeffju
So I guess I’d have to build my own staticfiles app or {% static %} tag
FunkyBob
you really have that many assets per page?
koirikivi
custom static tag perhaps
moeffju
Yeah, the pages are quite image heavy
Reflow has quit
FunkyBob
or custom staticfiles storage, which round robbins
moeffju
Just splitting into app, static and media helped a lot
But I’d like to cut load time down further
Reflow joined the channel
FunkyBob
have you analysed that that's really your time?
and not, say, loading a dozen social sites like buttons? :)
twoolie
Staticfiles Backends have the ability to modify the URL. you could write a staticfiles backend reasonably simply that wraps another backend, but provides asset sharding.
BombStrike joined the channel
also, what FunkyBob said
moeffju
FunkyBob, yes, I’ve been analysing the hell out of the app with NR, profilers, dtrace etc.
It’s one of the low hanging fruit in fact.
FunkyBob
can't just sprite-ify a bunch of images? :)
moeffju
No, they change too often
FunkyBob
how many assets per page are we talking, anyhow?
moeffju
We’re talking 300x200ish thumbs of teaser images
Reflow has left the channel
willingc has quit
~40% of the page is just images
some 30-80 depending on which page
hetii joined the channel
Hut joined the channel
dseitz joined the channel
sedeki has quit
FunkyBob
what's the page load times showing as in NR?
dseitz has quit
dseitz joined the channel
moeffju
3.2s in DOM processing, 1.5s in page rendering
ojh has quit
anyway
FunkyBob
we're at about 2+2
moeffju
Just wanted to make sure I didn’t miss anything obvious googling
FunkyBob
5 second overall
moeffju
We’re at 5.95s overall, which is ~5s too many IMO
what_larks has quit
I’m now getting rid of csrf tokens for anonymous users since there are no “dangerous” actions for them anyway
that will allow me to just Varnish everything for anons