Revision c2a78208 snf-astakos-app/astakos/im/management/commands/project-list.py

b/snf-astakos-app/astakos/im/management/commands/project-list.py
88 88
                    action='store_true',
89 89
                    dest='deleted',
90 90
                    default=False,
91
                    help="Also so cancelled/terminated projects"),
91
                    help="Also show cancelled/terminated projects"),
92
        make_option('--base-projects',
93
                    action='store_true',
94
                    default=False,
95
                    help="Also show base projects"),
92 96
    )
93 97

  
94 98
    def get_owner(project):
......
132 136
        if not options['deleted']:
133 137
            self.excludes["state__in"] = Project.SKIP_STATES
134 138

  
139
        if not options['base_projects']:
140
            self.excludes["is_base"] = True
141

  
135 142
        if options["pending"]:
136 143
            self.filter_pending()
137 144
        else:

Also available in: Unified diff