2007年04月12日 星期四 16:05
我现在有一个写好的django的models,现在需要用wx做一个工具,想调用models,应该怎么写呢? 也就是直接使用django提供的ORM,因为现在用的是sqlalchemy,感觉一个项目用了2个ORM太麻烦,要是能用统一的就方便多了。
2007年04月13日 星期五 13:48
Django has a sqlalchemy branch in svn. 但好像从来没有更新过。好像是Sqlalchemy 的作者没时间。 On 4/12/07, 马踏飞燕 <honeyday.mj在gmail.com> wrote: > 我现在有一个写好的django的models,现在需要用wx做一个工具,想调用models,应该怎么写呢? > > 也就是直接使用django提供的ORM,因为现在用的是sqlalchemy,感觉一个项目用了2个ORM太麻烦,要是能用统一的就方便多了。 > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese
2007年04月13日 星期五 19:44
On 4/13/07, Ben Luo <benluo在gmail.com> wrote: > > Django has a sqlalchemy branch in svn. 但好像从来没有更新过。好像是Sqlalchemy 的作者没时间。 是不是已经dead?,django什么都可以换,唯独orm不能? > On 4/12/07, 马踏飞燕 <honeyday.mj在gmail.com> wrote: > > 我现在有一个写好的django的models,现在需要用wx做一个工具,想调用models,应该怎么写呢? > > > > 也就是直接使用django提供的ORM,因为现在用的是sqlalchemy,感觉一个项目用了2个ORM太麻烦,要是能用统一的就方便多了。 > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -- ※※※※※※※※※※※※※※※※※※※※※※※※ My blog: http://blog.donews.com/ygao Forum http://groups.google.com/group/python_study ※※※※※※※※※※※※※※※※※※※※※※※※ -------------- 下一部分 -------------- 一个HTML附件被移除... URL: http://python.cn/pipermail/python-chinese/attachments/20070413/c9dc8094/attachment.htm
2007年04月26日 星期四 15:14
ÒªÄܽ«djangoÀïµÄorm³éÈ¡³öÀ´¾ÍºÃÁË£¬Å¼ÏÖÔÚÓÃÔʼµÄSQL×öÊý¾Ý¿â²Ù×÷¡£¡£¡£ »¹ºÃ£¬Ö»ÊÇÒ»¸öСӦÓ㬴óÓ¦ÓõϰֻÄÜÕÒÆäËüµÄORMÁË¡£ ÔÚ07-4-13£¬ygao <ygao2004在gmail.com> дµÀ£º > > > > On 4/13/07, Ben Luo <benluo在gmail.com> wrote: > > > > Django has a sqlalchemy branch in svn. µ«ºÃÏñ´ÓÀ´Ã»Óиüйý¡£ºÃÏñÊÇSqlalchemy µÄ×÷Õßûʱ¼ä¡£ > > > ÊDz»ÊÇÒѾdead?,djangoʲô¶¼¿ÉÒÔ»»£¬Î¨¶Àorm²»ÄÜ£¿ > > > > On 4/12/07, Âí̤·ÉÑà <honeyday.mj在gmail.com> wrote: > > > ÎÒÏÖÔÚÓÐÒ»¸öдºÃµÄdjangoµÄmodels£¬ÏÖÔÚÐèÒªÓÃwx×öÒ»¸ö¹¤¾ß£¬Ïëµ÷ÓÃmodels£¬Ó¦¸ÃÔõÃ´Ð´ÄØ£¿ > > > > > > Ò²¾ÍÊÇÖ±½ÓʹÓÃdjangoÌṩµÄORM£¬ÒòΪÏÖÔÚÓõÄÊÇsqlalchemy£¬¸Ð¾õÒ»¸öÏîÄ¿ÓÃÁË2¸öORMÌ«Âé·³£¬ÒªÊÇÄÜÓÃͳһµÄ¾Í·½±ã¶àÁË¡£ > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > -- > ¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù > My blog: http://blog.donews.com/ygao > Forum http://groups.google.com/group/python_study > ¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070426/f0c56f61/attachment.htm
2007年04月26日 星期四 15:46
> > 要能将django里的orm抽取出来就好了,偶现在用原始的SQL做数据库操作。。。 > > 还好,只是一个小应用,大应用的话只能找其它的ORM了。 > 把 django 的 orm 分出来怕是会一无是处,外面的 orm 比 django orm 好多了啊。 -- http://codeplayer.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20070426/ceb6617a/attachment.htm
2007年04月26日 星期四 15:52
Éϴβ»ÊÇÓиöÈËÒѾ³éÈ¡³öÀ´ÁËÂ𣿠Âí̤·ÉÑࣿ лСÂü£¿ Íü¼ÇÁË¡£ wang_zheng_yong 2007-04-26 ·¢¼þÈË£º ÀÏÉú ·¢ËÍʱ¼ä£º 2007-04-26 15:14:40 ÊÕ¼þÈË£º python-chinese在lists.python.cn ³ËÍ£º Ö÷Ì⣺ Re: [python-chinese]ÈçºÎÔÚÆäËûµÄ³ÌÐòÀïʹÓÃdjangoдºÃµÄmodels£¿ ÒªÄܽ«djangoÀïµÄorm³éÈ¡³öÀ´¾ÍºÃÁË£¬Å¼ÏÖÔÚÓÃÔʼµÄSQL×öÊý¾Ý¿â²Ù×÷¡£¡£¡£ »¹ºÃ£¬Ö»ÊÇÒ»¸öСӦÓ㬴óÓ¦ÓõϰֻÄÜÕÒÆäËüµÄORMÁË¡£ ÔÚ07-4-13£¬ygao <ygao2004在gmail.com> дµÀ£º On 4/13/07, Ben Luo <benluo在gmail.com > wrote: Django has a sqlalchemy branch in svn. µ«ºÃÏñ´ÓÀ´Ã»Óиüйý¡£ºÃÏñÊÇSqlalchemy µÄ×÷Õßûʱ¼ä¡£ ÊDz»ÊÇÒѾdead?,djangoʲô¶¼¿ÉÒÔ»»£¬Î¨¶Àorm²»ÄÜ£¿ On 4/12/07, Âí̤·ÉÑà < honeyday.mj在gmail.com> wrote: > ÎÒÏÖÔÚÓÐÒ»¸öдºÃµÄdjangoµÄmodels£¬ÏÖÔÚÐèÒªÓÃwx×öÒ»¸ö¹¤¾ß£¬Ïëµ÷ÓÃmodels£¬Ó¦¸ÃÔõÃ´Ð´ÄØ£¿ > > Ò²¾ÍÊÇÖ±½ÓʹÓÃdjangoÌṩµÄORM£¬ÒòΪÏÖÔÚÓõÄÊÇsqlalchemy£¬¸Ð¾õÒ»¸öÏîÄ¿ÓÃÁË2¸öORMÌ«Âé·³£¬ÒªÊÇÄÜÓÃͳһµÄ¾Í·½±ã¶àÁË¡£ > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese _______________________________________________ python-chinese Post: send python-chinese在lists.python.cn Subscribe: send subscribe to python-chinese-request在lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese -- ¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù My blog: http://blog.donews.com/ygao Forum http://groups.google.com/group/python_study ¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù¡ù _______________________________________________ python-chinese Post: send python-chinese在lists.python.cn Subscribe: send subscribe to python-chinese-request在lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070426/0cd3b8a3/attachment.html
Zeuux © 2025
京ICP备05028076号