2008-7-24
| 15:55 | siudesign | ah I see |
| 15:56 | siudesign | completed detroyed gcaps codebase, as we use newforms-admin more than pretty much anyone (or so Simon W and I claim ;)) - seems a bit of a bug if we throw a deprecation warning, as that implies things still work, but I see your point |
| 15:57 | siudesign | obviously not too hard to fix it though ;) lots of grepping |
| 15:58 | brosner | siudesign: can you dpaste the full traceback? |
| 15:59 | siudesign | yep, doing that now |
| 16:00 | siudesign | |
| 16:00 | siudesign | oh yeah |
| 16:00 | siudesign | it was the fields_for_model method throwing it |
| 16:00 | brosner | siudesign: oh |
| 16:00 | brosner | yes |
| 16:00 | siudesign | forgot about that |
| 16:01 | brosner | i remember now |
| 16:01 | brosner | i will fix it now. |
| 16:01 | brosner | actually can you patch your django with it to verify? |
| 16:01 | siudesign | yep, that would be cool |
| 16:03 | brosner | siudesign: http://dpaste.com/67192/ |
| 16:05 | siudesign | doesn't work |
| 16:08 | brosner | siudesign: have you used pdb to see what self.rel.to is at the point in the stack? |
| 16:08 | brosner | i wonder if it is "sectionals.PodScheme" |
| 16:10 | siudesign | i've been pdbing all over the place, but i'll check :) |
| 16:10 | siudesign | we're getting rid of that, so if it's that, it'll be funny |
| 16:10 | brosner | :) |
| 16:16 | siudesign | ha |
| 16:16 | siudesign | it was sectionals.PodScheme |
| 16:16 | siudesign | self.rel.to |
| 16:16 | brosner | hehe |
| 16:16 | siudesign | distributed debugging ftw |
| 16:16 | brosner | ok, well there is still an issue here, just need to pinpoint why that is. |
| 16:17 | siudesign | yeah |
| 16:18 | siudesign | so it doesn't have a default manager, it doesn't care that it's a string does it, instead of an imported model? |
| 16:18 | siudesign | shouldn't matter |
| 16:20 | siudesign | sorry I disconnected for some random reason |
| 16:20 | siudesign | anyways, as I was saying, it shouldn't care that it's a string should it? |
| 16:21 | siudesign | Seems like it shouldn't matter to me |
| 16:22 | brosner | right. i thought by the time self.rel.to happens it would have been mapped to a model |
| 16:23 | siudesign | nope |
| 16:23 | siudesign | it stays as a string |
| 16:23 | siudesign | hence the fail |
| 16:23 | siudesign | because obviously it won't have a default manager |
| 16:23 | brosner | exactly. hence there is a problem here :) |
| 16:24 | siudesign | yup |
| 16:24 | siudesign | it needs to be mapped |
| 16:24 | brosner | but i believe it normally does work. i wonder if this is a timing issue |
| 16:24 | brosner | ill just need to look more in depth on how that mapping happens. |
| 16:24 | siudesign | that's a possibility |
| 16:25 | brosner | you are welcome to file a ticket |
| 16:25 | brosner | :) |
| 16:25 | siudesign | I don't mind, I have to fix it for work anyways ;) |
| 16:25 | siudesign | i've been doing that stuff all week, yay me ;) |
| 16:26 | brosner | were you saying you were having model inheritance issues with the admin? |
| 16:27 | siudesign | just other stuff we were patching: http://code.djangoproject.com/ticket/7918 |
| 16:27 | brosner | ah ok cool. that is on my todo list |
| 16:27 | siudesign | cheers for your help btw ;) I just wanted to know I wasn't going insance |
| 16:28 | siudesign | *insane |
| 17:44 | empty | oh simonw where are you. |
| 17:50 | jinzo | at oscon looks like |
| 17:51 | empty | jinzo: are you there? |
| 17:51 | empty | anyhoo, his djangopeople site is showing the whale. |
| 17:51 | jinzo | nope, but apprently jacobkm is ( seen as they both had the ip conference/oscon/* ip ) |
| 21:03 | cramm | jbronn: http://code.djangoproject.com/changeset/8069 :) |
Page 2 of 2
← Previous
(160 total)