Quick and dirty way to make dynamically available all tables of a database as models
There are a lot of reasons why you should not do this. But nevertheless it might be useful in certain situations. If your database does not change and you want to use validators etc you better use inspectdb from django-admin.py
- sql
- models
- database
- inspectdb
- automagic