Re: Using an existing database of astronomic images

2007-10-02 Thread Russell Keith-Magee
On 10/2/07, Thejaswi Puthraya <[EMAIL PROTECTED]> wrote: > > [snipped] > > First and before the feeding of the database, after creating my > > database in the mysql prompt by inserting SQL code could django > > analyse my clean database and create class for each table? > > with the right field

Re: using a existing database

2007-10-02 Thread Ben Ford
Hi Greg What you'll need to is create a project (django-admin.py startproject I think). Then create an app inside that project (./manage.py startapp). Once you have the project and app directory structure edit the settings.py file to put it your database settings. After that's done you should be

Re: Using an existing database of astronomic images

2007-10-02 Thread Thejaswi Puthraya
[snipped] > First and before the feeding of the database, after creating my > database in the mysql prompt by inserting SQL code could django > analyse my clean database and create class for each table? > with the right field type? Try using the inspectdb command. Refer to