Skip to content

Commit

Permalink
Exclude proxy models from calaccess_filing load cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonje committed Nov 10, 2017
1 parent 0efc074 commit 4d5268e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def get_model_list(self, model_type):
non_abstract_models = [
m for m in apps.get_app_config('calaccess_processed').get_models()
if not m._meta.abstract and
not m._meta.proxy and
'filings' in str(m)
]

Expand Down

0 comments on commit 4d5268e

Please sign in to comment.