2008-5-3
| 20:25 | brosner | i have an idea |
| 20:26 | empty | k |
| 20:26 | brosner | we use ModelBase from django to do django goodness |
| 20:26 | brosner | we have replicated the sqla stuff, why dont we just let it do itself? |
| 20:26 | brosner | or am i missing something in thinking that |
| 20:26 | empty | what do you mean by "let it do itself? |
| 20:27 | brosner | call declarative base to setup |
| 20:27 | brosner | then we do our hotness |
| 20:27 | empty | oh i see what you're saying |
| 20:27 | empty | it should work I guess. |
| 20:27 | brosner | that way we dont keep replicating their code |
| 20:27 | empty | sure |
| 20:27 | brosner | and new stuff there wont matter to us |
| 20:28 | empty | pull it out |
| 20:28 | empty | yeah |
| 20:28 | brosner | sure. can't now, but want to see if that will work in theory ;) |
| 20:28 | empty | sure, no worries. I think it should work. |
| 20:28 | empty | we would just need to subclass the metaclass. |
| 20:28 | brosner | remember we wrote the code drunk |
| 20:28 | brosner | so we are still cleaning that up :P |
| 20:28 | empty | right :D |
| 20:28 | empty | no actually the code in there is clean |
| 20:29 | empty | I think |
| 20:29 | empty | it's pretty straight forward |
| 20:29 | empty | but yeah that makes sense what you're saying |
| 20:29 | brosner | yeah for the most part. the replication is killing me |
| 20:29 | empty | you mean the fact that SA stuff is in there? |
| 20:29 | brosner | right |
| 20:29 | brosner | i want it there |
| 20:29 | brosner | i mean i want the functionality |
| 20:29 | empty | right |
| 20:29 | brosner | but not the code |
| 20:29 | brosner | it should be elsewhere |
| 20:30 | empty | sure. |