joshbright: You are right, some magics happening! I done an other mistake! I used form.fields.ip.id_for_label in template instade of form.ip.id_for_label :))
joshbright: Thanks!
aossama joined the channel
carltongibson joined the channel
jerojasro joined the channel
xliiv joined the channel
XofP joined the channel
moretango joined the channel
lavalamp joined the channel
religious has quit
aossama has quit
kuter
nkuttler: I'm not sure if save_formset is the right place ?
joshbright
Yaser_Amiri: im glad I could help!
moretango
Is it best to use AbstractUser when creating the User model?
jobelenus has quit
Given that AbstractUser adds extensibility to the base User model that Django gives you
zeus1 joined the channel
aossama joined the channel
v0lksman joined the channel
jcda has quit
energizer joined the channel
chasonchaffin joined the channel
fierymaelstrom has quit
brainproxy joined the channel
Anyone have any thoughts on AbstractUser vs base User model?
moldy
so google doesn't allow me to change my password to one i have used in the past
brainpro1 has quit
joshbright
moretango: one sec
moldy
so when i use the password reset once, i can have to go through all my devices and change the stupid password. who comes up with such crap :(
v0lksman
moldy: they also use those old passwords to recover accounts
v0lksman: yes, it's all crap. i want to have an option "stop trying to protect me from myself"
joshbright
im hesitant to answer a question about extending users without knowing more about the situation
novigradian joined the channel
chasonchaffin has quit
moldy
v0lksman: they also spam you with e-mails every time you log in if you use tools to improve your privacy
bigblind joined the channel
v0lksman
yep
getting done with them..just wish there was a viable alternative
moretango
joshbright: Thank you for that, I'm watching the video now.
moldy
in their support feedback e-mail, only the option "everything is fine" is a proper link. "i need further assistance" is some javascript thing that doesn't work here :p
moretango
I gotta say, I feel that using a hash that is then checked to see if it is unique as the unique_id for a user seems to be the way to go.
JordiGH joined the channel
User's generally want to be able to freely change their username.
JordiGH
I've got a management command that's running a logger via Python's standard `logger = logging.getLogger(__file__)`
Is there a simple way to silence this logger unless there's an error, in which case we spit out all of the logging?
This is so that cron won't email us.
Or maybe we should run this command via cronic.
bigblind has quit
Yaser_Amiri has quit
moretango has quit
v0lksman
anyone super familiar with debug toolbar? I'm getting a strange error when it's enabled and I have an include in a particular template, same include on a different template works fine. unorderable types: int() < str() is the error. when I look at the context in the trace there is a dict called context_layers that is being populated and one of the keys is indeed an in not a string like the rest. Any ideas why that might be? (debug=1.9.1)
moldy: Hm, I think it's easier to just use cronic in that case.
joshbright
v0lksman: i’ve used it in the past, but, im no expert. I can’t seem to tell what context_layers is, but, it sorta sounds like something django does internally. Is the thing that is a string in one include, and an int in another something you control, or, is it just some odd thing your seeing? Can you provide the traceback?
sixtycycles
Hello everyone! I'm having a wild time with a specific encoding issue. when i try to enter data into a model field via the admin, and the data contains odd characters (in this case delta, permil and degree symbols) i get a 500 error. I obviously need to escape them, but when i use escape() or conditional_escape i get a mysql error ~ (1366, "Incorrect string value: '\\xCE\\xB41' for column 'abstract' at row 1")
zhalla_ joined the channel
moldy
JordiGH: cronic looks interesting indeed, i haven't used it yet
ironfroggy has quit
ironfroggy joined the channel
jessamynsmith has quit
aossama has quit
Fuyou joined the channel
k0mpa joined the channel
sixtycycles has quit
Fuyou
Heh, I haven't touched my hobby project so long, I was lucky to forget how big is undertaking it was )
xliiv has quit
moretango joined the channel
religious joined the channel
Leishani has quit
religious is now known as theology
ironfroggy has quit
ironbeard has quit
fikka has quit
XofP has quit
ironfroggy joined the channel
jalalsfs_ joined the channel
joshbright
sixtycycles: are you on python2 or 3? what encoding does your column/table have in mysql?
ironfroggy has quit
fikka joined the channel
chasonchaffin joined the channel
ah i guess they left =(
detseg has quit
ironfroggy joined the channel
jalalsfs has quit
bigblind joined the channel
JustASlacker joined the channel
av_ has quit
chasonchaffin has quit
moretango has quit
zhalla_ has quit
aossama joined the channel
bigblind has quit
ironfroggy has quit
fikka has quit
__marco joined the channel
ironfroggy joined the channel
douedd_ joined the channel
bigblind joined the channel
aossama has quit
karmavil joined the channel
chasonchaffin joined the channel
ironfroggy has quit
douedd has quit
jadajada joined the channel
bigblind has quit
brainpro1 joined the channel
jtiai^ has quit
brainproxy has quit
chasonchaffin has quit
Fuyou
hm, we also have so new mechanic of url including?
mguy
Would it be a big deal to upgrade a codebase from 1.11 to 2.0?
hylje
mguy: probably not, the bigger job is being python 3 compatible
re1 has quit
Fuyou
I'm upgrading 1.11 to 2.0 with changing auth user model now >_<