Hi All,
We recently added database introspection of defaults for purposes of
testing migrations.
https://github.com/django/django/commit/75303b01a9cc900eebf1f27ba0bc6508334242fc
I would find it useful to have inspectdb attempt to use those defaults when
generating models. (My use case is runni
On Tuesday 10 March 2015 19:39:19 Michael Manfre wrote:
> I agree with Tim.
>
> I would support refactoring inspectdb so that it would be easier for anyone
> to subclass the command and add additional logic to the introspection
> process.
+1.
Shai.
I agree with Tim.
I would support refactoring inspectdb so that it would be easier for anyone
to subclass the command and add additional logic to the introspection
process. Alternatively, moving much of the logic out to a function that
returns a JSON representation of the database that inspectdb u