Revision 73fbaec4 snf-astakos-app/astakos/im/management/commands/project-application-approve.py
b/snf-astakos-app/astakos/im/management/commands/project-application-approve.py | ||
---|---|---|
40 | 40 |
|
41 | 41 |
from astakos.im.models import ProjectApplication |
42 | 42 |
|
43 |
@transaction.commit_manually |
|
44 | 43 |
class Command(BaseCommand): |
45 | 44 |
args = "<project application id>" |
46 | 45 |
help = "Update project state" |
47 | 46 |
|
47 |
@transaction.commit_manually |
|
48 | 48 |
def handle(self, *args, **options): |
49 | 49 |
if len(args) < 1: |
50 | 50 |
raise CommandError("Please provide a group identifier") |
Also available in: Unified diff