|
Need some django help... I posted this to the django users group but I have a bad feeling it's not going to get any hits, so I may as well see if anyone has any ideas. Anyways: I've been trying to get django working with a legacy system which I feel could benefit greatly from it, however I've managed to hit a critical snag. Our setup is such that we have tables in multiple schemas, so (for example) there might be one called "app_sys" and another called "app_prod", with tables in each that need to be accessed. Initially I had been working with 0.96 and managed to get things working by specifying db_table values in class Meta with the schema prefix... for example code:
code:
Does anyone have any ideas for a way around this? npe fucked around with this message at 18:43 on Dec 6, 2007 |
# ¿ Dec 6, 2007 18:40 |
|
|
# ¿ May 5, 2024 10:30 |
|
You're on to me! I actually tried that right after posting about this, and it seems to be working for now, which is letting me continue development in the meantime. But I'm highly embarassed about it... hopefully there's a real solution at some point in the future.
|
# ¿ Dec 7, 2007 01:16 |
|
Edit: I assume when you say "never learned how to do it manually" you were wondering how to do that, but maybe I misread. Well, here's how to do it manually I guess... Simple way is to just add the values of the columns set to 1. Like: code:
code:
npe fucked around with this message at 03:15 on Apr 3, 2008 |
# ¿ Apr 3, 2008 03:09 |