diff --git a/src/core/management/commands/create_conference.py b/src/core/management/commands/create_conference.py index 340d0fb14bd07d91f8628af3eb09630de39789b8..33121260e900d9ee1e6508c6f1ed3404812b2bd1 100644 --- a/src/core/management/commands/create_conference.py +++ b/src/core/management/commands/create_conference.py @@ -341,16 +341,16 @@ def _validate_date(s: str) -> datetime: class Command(BaseCommand): def add_arguments(self, parser): parser.add_argument( - 'slug', + 'name', type=str, nargs='?', - help='The url slug of the new conference.', + help='The name of the new conference', ) parser.add_argument( - '-n', - '--name', + '-s', + '--slug', type=str, - help='The name of the new conference', + help='The url slug of the new conference. If not given, it will be slugified from the name.', ) parser.add_argument( '-y',