Revision edc51a21 snf-astakos-app/astakos/im/models.py

b/snf-astakos-app/astakos/im/models.py
1892 1892
            q &= Q(project__in=projects)
1893 1893
        return self.filter(q)
1894 1894

  
1895
    def actually_accepted_and_active(self):
1896
        q = self.model.Q_ACTUALLY_ACCEPTED
1897
        q &= Q(project__state=Project.NORMAL)
1898
        return self.filter(q)
1899

  
1895 1900
    def initialized(self, projects=None):
1896 1901
        q = Q(initialized=True)
1897 1902
        if projects is not None:

Also available in: Unified diff