-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move manipluation of list_display and list_filter
move the manipulation of list_display and list_filter to overridden get_list_* methods. The ModelAdmin seems to get instantiated when executing management commands and the user_count query throws an exception table doesn't exist if the database hasn't been created. This means that it's not possible to actually create the database.
- Loading branch information
Showing
1 changed file
with
34 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters