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
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
[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
3 matches
Mail list logo