Revision 35cbac33 snf-astakos-app/astakos/oa2/management/commands/oauth2-client-remove.py
b/snf-astakos-app/astakos/oa2/management/commands/oauth2-client-remove.py | ||
---|---|---|
31 | 31 |
# interpreted as representing official policies, either expressed |
32 | 32 |
# or implied, of GRNET S.A. |
33 | 33 |
|
34 |
from django.core.management.base import BaseCommand, CommandError
|
|
34 |
from snf_django.management.commands import SynnefoCommand, CommandError
|
|
35 | 35 |
from django.db import transaction |
36 | 36 |
from astakos.oa2.models import Client |
37 | 37 |
|
38 | 38 |
|
39 |
class Command(BaseCommand):
|
|
39 |
class Command(SynnefoCommand):
|
|
40 | 40 |
args = "<client ID or identifier>" |
41 | 41 |
help = "Remove an oauth2 client along with its registered redirect urls" |
42 | 42 |
|
Also available in: Unified diff