0

Is there any django application that can create other apps merely based on a sql / csv file provided that a default template is found for the new applications.

Val Neekman
  • 17,692
  • 14
  • 63
  • 66

1 Answers1

0

You can use database introspection to create models from pre-existing tables. You can divide the models up into apps and fix the odd error it seems to produce now an again. It saves a heap of time when integrating with legacy databases.

python manage.py inspectdb > models.py

More details: http://docs.djangoproject.com/en/1.2/howto/legacy-databases/

Apart from that I don't know of anything for CSV or SQL files and am not sure what you mean by "default template".

Rory Hart
  • 1,813
  • 1
  • 19
  • 19