anyone know python-social-auth? how can i verify into templates if user is social authenticated?
reentec has quit
cewing joined the channel
Subzidion
clear
cewing has quit
kl4us
any help
?
harly has quit
reentec joined the channel
thunderoy_ joined the channel
frankanstine has quit
thunderoy_ has quit
jessamynsmith
kl4us: I always use django-allauth
but in general, you can access the user from a template
grimel has quit
you are trying to differentiate social from other login?
killvenom joined the channel
kl4us
jessamynsmith, yes
i'm using django-registration with python-social-auth
to have normal signin/signup and social signin
lejedi76 has left the channel
reentec has quit
sol1x has quit
giammi joined the channel
SmileyChris joined the channel
k3va has quit
rpkilby joined the channel
karswell has quit
Knyght
anyone used threading in management commands or at least doesn't think it's a bad idea
?
karswell joined the channel
mattmcc
Not necessarily..
microdex2 joined the channel
rpkilby has quit
What are you doing?
doismellburning
Knyght: ....eeeeesh
Knyght
parsing CSVs, adding each row as an object, bunch of relations, but each row is independent. Think it might speed things up, but not sure what the best way to do it is.
(or if it's worth doing at all, which I'm siding towards atm)
mattmcc
So, the ORM isn't great at bulk loading.
Knyght
oh, I should mention it's currently slow mostly because we're making 2 external API calls per row
FlyingMongoose has quit
microdex has quit
nickapos joined the channel
ubuntu_aze joined the channel
garygraham1 joined the channel
FlyingMongoose joined the channel
eperzhand has quit
eperzhand joined the channel
cewing joined the channel
drodger has quit
drodger joined the channel
reentec joined the channel
garygraham2 joined the channel
cewing has quit
holler joined the channel
uestra has quit
devster joined the channel
garygraham1 has quit
Fuyou
Knyght, I use multiprocessing to batch generate thumbnails
Knyght
hmm, that reminds me
papna
Ugh, the multiprocessing module :(
Knyght
doesn't py3 have some new multiprocessing stuff, the pool thingies?
anonak joined the channel
kingarmadillo joined the channel
mingrammer joined the channel
Fuyou
I remember pools of workers
I didn't use though
holler has quit
microdex2
Is it possible to make a UUID type field that is blank at first?
when I do ( blank=True ) it says "badly formed hexadecimal UUID string"
mingrammer has quit
cause I only want to add uuid under certain conditions but leave it blank for most
papna
Knyght: Mostly it sticks the old stuff in the same namespace as some other types of worker pools and a new API
domino14 joined the channel
reentec has quit
Knyght
new API sounds good to me considering the old ones
Fuyou
microdex2, what if blank=True, null=True ?
Koterpillar joined the channel
mingrammer joined the channel
I'm not sure if it makes much sense though
jarshwah joined the channel
jarshwah has quit
JohnnyZ_ joined the channel
jarshwah joined the channel
olrrai joined the channel
papna
Knyght: They don't remove the old API, which was designed to usually work with import magic that can have subtle bugs and confusing behavior (and depend on whether its forking without execing, as is what it will do by default on some platforms, though this varies by manager and version and options)
Knyght: That is to say, you're still using that badness of it when you use the concurrent.futures version of the pool
riclima_ joined the channel
Knyght
as long as it's hidden from me :P
papna
Knyght: It also didn't change the fact the API lacks a data model, just pickling willy nilly--which would be bad enough if you could tell really when it would pickle, but you cam't
Knyght: It's not hidden from you, it just prays things will work and you won't notice.
Knyght: Of course, all of that would be one thing if the communication layer actually worked, rather than breaking randomly sometimes, even on localhost
notdaniel has quit
riclima has quit
mingrammer has quit
robvdl joined the channel
microdex2
Fuyou: When I set it to null=True , the migrations seem to work, but the field is still not in the DB
the migration runs but the field doesn't get added
drodger has quit
mingrammer joined the channel
art-solopov has quit
YsGrandi has quit
killvenom has quit
holler joined the channel
kingarmadillo joined the channel
holler has quit
drodger joined the channel
mingrammer__ joined the channel
holler joined the channel
djapo has quit
mingrammer has quit
mingrammer__ is now known as mingrammer
mingrammer__ joined the channel
djapo joined the channel
badon joined the channel
mingrammer__ has quit
mingrammer__ joined the channel
rpkilby joined the channel
schinckel
microdex2: You'll need to be NULLABLE, as otherwise it will try to coerce the blank value to a UUID. Which is not valid.