you still need to setup logging, and enable the db logger
Ariel_Calzada joined the channel
Nanno joined the channel
kushal joined the channel
ehmatthes has quit
stickperson has quit
w66 joined the channel
sanketdg has quit
davecap joined the channel
Nanno has left the channel
NOTevil joined the channel
mlavin has quit
carlosoliveira has quit
Hairy joined the channel
kushal has quit
SteenJobs joined the channel
SteenJobs has quit
cr3 joined the channel
cr3
hi folks, I'm trying to use csrf tokens on my site but the token doesn't seem to change when I refresh the page; is that expected?
Hydhen joined the channel
wldcordeiro_ has quit
wldcordeiro_ joined the channel
eribeiro has left the channel
SDCDev has quit
mlavin joined the channel
jtiai
cr3: Yes.
cr3
jtiai: thanks, I just found that it reuses the csrf set in the cookies. makes sense.
encod3 joined the channel
marcosmoyano joined the channel
encod3 has quit
encod3 joined the channel
SpoutBE has quit
garrypolley has quit
bcSquared__ has quit
garrypolley joined the channel
garrypolley has quit
robbyoconnor joined the channel
ararog has quit
skeuomorf joined the channel
jMyles has quit
acangiani joined the channel
maryokhin joined the channel
robbyoconnor has quit
maryokhin has left the channel
kyheo has quit
foist
I am getting `django.db.utils.DataError: invalid input syntax for type boolean: “”`, but the field it’s complaining about is a CharField that I am trying to assigned the value of `’'` to. What’s happening?
jessamynsmith has quit
shangxiao
foist: check the type in the db
busla joined the channel
oh wait that won't be it
infinitesum joined the channel
jessamynsmith joined the channel
foist
shangxiao: inspection_request | character varying(16)
busla has quit
skeuomorf has quit
j1fig joined the channel
Hydhen
Hello !
skeuomorf joined the channel
infinitesum
I’m getting an error that my file is already closed every time I try to save an ImageField. Any idea what’s going wrong? Here is the code, the actual image files seem to be getting created correctly
All my models are in models.py, i arrange them that way every fields needed has been declared just above and i got this kind of logsd
"users.Code: (models.E012) 'unique_together' refers to the non-existent field 'IDTECHNOLOGIE'."
busla joined the channel
solidvance has quit
foist
shangxiao: how do you know that won’t be it?
chrisjones joined the channel
shangxiao
the exception
foist
shangxiao: any tip on how to figure this one out?
shangxiao
you could always set a breakpoint and step through it :D
garrypolley joined the channel
that's what i do when i don't understand what django's doing
jiang42 has quit
aviraldg has quit
foist
I am doing that already. I’m looking at the `sql` and `params` args and it looks right.
edgabaldi has quit
tchalla has quit
busla has quit
decaff joined the channel
pilva has quit
pilva joined the channel
citizen-stig joined the channel
stickperson joined the channel
Hairy has quit
SteenJobs joined the channel
jay-tyler joined the channel
Hairy joined the channel
Okay, entirely my fault of course. I was using --reuse-db on py.test - that’s what was causing problems.
Audioburn has quit
grumpi has quit
SteenJobs has quit
shangxiao
sadness
;)
jtri has quit
madprops has quit
rtpg joined the channel
Shariq has quit
Pitr__
I <3 the production check!
jessamynsmith has quit
jmckind joined the channel
Saturn812 has quit
infinitesum has quit
rtpg has quit
Hairy has quit
quazifarhan has quit
KlausedSource_ has quit
pilva has quit
m0wth joined the channel
Ariel_Calzada has quit
jMyles joined the channel
hell_razer has quit
Hairy joined the channel
garrypolley has quit
denys has quit
\x24murf joined the channel
AndyRez joined the channel
Hairy has quit
jMyles has quit
mlavin has quit
ghostmoth joined the channel
\x24murf
quick question all. I'm creating my user registration (two forms, UserForm from User and a new UserProfile linking to User). Anyhow, I'm building my registration form using both these forms and I'm just wondering how i can introduce a second password field (so i can ensure the same password is entered). I have a password field from my UserModel so how is it best to add an extra field ?
Hairy joined the channel
rpkilby joined the channel
hylje
you can add fields to the modelform by just defining them
Hawkerz
hey -- quick question -- I am using a postgres view to back a model in django (I inherited this code) and it is working fine for existing dependent models (which have FK's to it). I just made a new model that depends on this unmanaged, view-based model and now syncdb throws 'referenced relation is not a table'... any idea how to fix this?
rpkilby has quit
optikalmouse has quit
dronezero joined the channel
rpkilby joined the channel
mightym has quit
jmckind has quit
rpkilby has quit
jmckind joined the channel
veduardo has quit
cnk_ joined the channel
chrys joined the channel
FineTralfazz has quit
realnot has quit
brewmaster has quit
dronezero has quit
at3560k has quit
cnk_ is now known as cnk
cyberspace- joined the channel
realnot joined the channel
emk joined the channel
w0rp joined the channel
\x24murf
If I add additional fields to the model form, wouldnt that cause issues when saving the form to the database ?