DateTime field milliseconds?

2006-08-08 Thread Gennan Chen
Hi!I am using MySQL as my DB and it seems datetime field did not store milliseconds. Is it the correct behavior? Any chance I can hack that/ I need Milliseconds resolution.  Gen-Nan Chen --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: Off Topic: Mac software for database design?

2006-08-05 Thread Gennan Chen
I am using Eclipse with PyDev and Quantum. It is a nice IDE. Gen On Aug 5, 2006, at 3:44 PM, [EMAIL PROTECTED] wrote:& that should have also said that while MySQL Workbench is flaky ( asyou've found out ), I haven't had any problems with MySQL admin.There's also YourSQL which is quite nice (http://

Re: put some initial data in the db

2006-08-02 Thread Gennan Chen
reate your base objects. That's exactly what we did, and have both "initial_data.py" and "example_data.py" as a part of our build & testing process. At the start, we just have the model imports and away we go. It's not build in to the framework, but it's not h

Re: put some initial data in the db

2006-08-02 Thread Gennan Chen
of generating SQL dynamically. However, can I override class's __init__ function? Or I need to create a customized Manager for that?? Gen On Aug 2, 2006, at 3:38 PM, Malcolm Tredinnick wrote:On Wed, 2006-08-02 at 14:52 -0700, Gennan Chen wrote: Hi!is there any way to put some initial data in t

put some initial data in the db

2006-08-02 Thread Gennan Chen
Hi!is there any way to put some initial data in the db by using "syncdb" option? Or I need to cook my own?? Gen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email t

customize admin

2006-08-01 Thread Gennan Chen
Hi!django's admin is pretty neat and I will like to customize it. I know there is a documentation to change its appearance. But how about I want to add a bit more function or buttons on the form. For example, I need to run some server side scripts/program after user click saving changes. How do I d

Re: using legacy db system

2006-08-01 Thread Gennan Chen
I am with you on that.  Gen On Aug 1, 2006, at 8:23 AM, Jacob Kaplan-Moss wrote:On Aug 1, 2006, at 9:16 AM, [EMAIL PROTECTED] wrote: This might be of some help:http://code.djangoproject.com/wiki/MultipleDatabaseSupportIt's a SoC 2006 project, so the branch has yet to be merged into trunkbut he repo

using legacy db system

2006-08-01 Thread Gennan Chen
Hi! All,I am new to Django and will like to use its good admin interface to build a new web app. However, we used a couple of databases on a single mysql server. So, is there any chance I can reuse them? It seems you can only have use 1 db only in the settings.  Any pro and con on designing a syste

use data model and database api along

2006-07-29 Thread Gennan Chen
Hi!I will like to django's ORM in my standalone app (not web app).  Do I always its admin tool to create tables? Or it can reuse the table structure I create in the db? Gen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group