Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange __view__ behaviour #88

Open
filmackay opened this issue Jul 25, 2014 · 0 comments
Open

Strange __view__ behaviour #88

filmackay opened this issue Jul 25, 2014 · 0 comments

Comments

@filmackay
Copy link

When specifying a __view__ - I'm not expecting form_columns to be set to column_list. Any objections to a PR for model/utils.py:146 to instead:

                assert issubclass(cls.__view__, ModelView)
                admin_view_class = cls.__view__

Similarly for the show_pks case - why reset form_columns?

Out of interest, how can I replicate the default behaviour (no form_columns provided) with some actual form_columns values? Give it fields, and relationships - but no foreign key columns?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant