Re: "django-admin.py inspectdb"

2005-08-03 Thread chrisk
I've tried it on my pg databases, but got a lot off errors. It seems that django is missing some pg DATA_TYPES, so i added them to the dictionaries at the end of postgresql.py. But i am not a progammer and don'n know if this is right. 'CIDRAddressField': 'cidr' 'MACAddressField': 'macaddr', 'O

"django-admin.py inspectdb"

2005-08-02 Thread Adrian Holovaty
As of Django v. 384, I've added a new option to django-admin.py: "inspectdb". It introspects the tables in a given database and outputs a Django model to standard output. Sample usage: $ django-admin.py inspectdb mydb It's just alpha at this point; I just wanted to get so