summaryrefslogtreecommitdiff
path: root/tests/user_commands/management/commands/set_option.py
blob: 5f8c01e541e9d141cd63afe3d67dfd16a0fcb1dc (plain)
1
2
3
4
5
6
7
8
9
from django.core.management.base import BaseCommand


class Command(BaseCommand):
    def add_arguments(self, parser):
        parser.add_argument("--set")

    def handle(self, **options):
        self.stdout.write("Set %s" % options["set"])