On 8/3/2010 12:53 PM, Jagdeep Singh Malhi wrote: > I have the backup of mysql database with tables and fields data. > I want to use these tables and fields to create the classes in > model.py file for django. > > Is it possible? > Is any tool and script for convert the database tables with fields > into a modey.py to create class? > > Thanks > http://docs.djangoproject.com/en/dev/ref/django-admin/#inspectdb
You should expect to perform some tweaking on the output, however, as it's difficult for the system to introspect every detail. regards Steve -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.