Hi, I have a model with fields named X, Y, Z (all of them have null=False), I want to have another model(table) exactly like first model but all fileds "null "property should be True. is there any way?
tolja has quit
PtxDK
Im trying to import a model into tasks.py (celery-related): im importing using this statement: from .models import Patient but it does not seem to save when i call the .save() function on my model ----- im getting no errors in the celery process: https://dpaste.de/P9zX
jtiai
Yaser_Amiri: Yes. Create abstract model with common fields and then inherit concrete models from that.
since the order of MIDDLEWARE entries matter, maybe it's just a matter of that ... will try now
ah, no, there is no DRF middleware :)
csotelo joined the channel
moldy: any insights with the full stacktrace?
Yaser_Amiri has quit
fikka joined the channel
lobo_d_b joined the channel
Kangermu has quit
fikka has quit
Gueeros joined the channel
arlyon has quit
prabampm has quit
prabampm1 joined the channel
kezabelle has quit
stevanr has quit
ticketbot has quit
ticketbot joined the channel
eperzhand joined the channel
prabampm1 is now known as prabampm
jtiai has quit
JustASlacker has quit
stevanr joined the channel
qu4ku joined the channel
fikka joined the channel
jaykay has quit
Kangermu joined the channel
fikka has quit
n0nam3 joined the channel
azulakina has quit
zeus1 has quit
amirpro has quit
Hawkerz has quit
fikka joined the channel
RandomSerb
mind someone please tell me what's wrong here - https://dpaste.de/F536 ? I get Key Error, 'patient_form' at line 8. The thing is that I shouldn't get to that error at all, given line 23