Commits

John Costa  committed 7a63c0d

add additional statuses

  • Participants
  • Parent commits 125d066

Comments (0)

Files changed (1)

File feature_request/models.py

 from django.contrib.auth.models import User
 
 from feature_request.choices import STATUS_CHOICES, DECLINE_CHOICES
-from feature_request.constants import SUBMITTED, EDITING
+from feature_request.constants import SUBMITTED, EDITING, REVIEWING, APPROVED, DENIED
 from django.contrib import messages
 
 #===============================================================================
 
     #---------------------------------------------------------------------------
     def get_my_submitted_features(self, user):
-        return self.get_my_features(user).filter(status=SUBMITTED)
+        return self.get_my_features(user).filter(status__in=[SUBMITTED,REVIEWING,APPROVED,DENIED])
 
     #---------------------------------------------------------------------------
     def get_my_unsubmitted_features(self, user):