Hi,<br><br>I forgot to say that the main problem that I found, was how to use, always the same metadata object (at least, I think that was the problem)<br><br>I did this:<br><br>myProject.rdb/<br> myProject/<br> rdb/<br>
__init__.py ### create the metadata object<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>myProject.clients/<br>
myProject/<br> clients/<br> models.py ### Clients models (rdb.Model)<br> ....</blockquote><div><br>in model.py, I import the metadata like this: from myProject import rdb as myRDB<br>
<br>and then I do: rdb.metadata(myRDB.metadata)<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>src/<br> ProjectExmple/<br>
app.py ### use Client models<br> ....<br></blockquote><div><br>here, in app.py I also import the metadata object from myProject.rdb and setUp the database<br> <br>this seems to be working<br>what do you think? it may cause some problems in the future?<br>
<br>Regards<br></div></div><br clear="all"><br>-- <br>Santiago Videla<br><a href="http://www.revolucionesweb.com.ar">www.revolucionesweb.com.ar</a><br><a href="http://www.linkedin.com/in/svidela">http://www.linkedin.com/in/svidela</a><br>
<br>Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el pensamiento que se hace corazón resplandece con la palabra sencilla y humilde que l@s tod@s somos.