Browse Source
add mm{shell,syncdb,runserver} commands that allow to choose a Murmur version first
Natenom/support-murmur-13-1446181288462
add mm{shell,syncdb,runserver} commands that allow to choose a Murmur version first
Natenom/support-murmur-13-1446181288462
Michael Ziegler
15 years ago
4 changed files with 138 additions and 0 deletions
-
21pyweb/mumble/management/commands/mmrunserver.py
-
21pyweb/mumble/management/commands/mmshell.py
-
21pyweb/mumble/management/commands/mmsyncdb.py
-
75pyweb/mumble/murmurenvutils.py
@ -0,0 +1,21 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
""" |
|||
* Copyright (C) 2009, Michael "Svedrin" Ziegler <diese-addy@funzt-halt.net> |
|||
* |
|||
* Mumble-Django is free software; you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation; either version 2 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This package is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
""" |
|||
|
|||
from django.core.management.commands.runserver import Command as OrigCommand |
|||
from mumble.murmurenvutils import MumbleCommandWrapper |
|||
|
|||
class Command( MumbleCommandWrapper, OrigCommand ): |
|||
pass |
@ -0,0 +1,21 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
""" |
|||
* Copyright (C) 2009, Michael "Svedrin" Ziegler <diese-addy@funzt-halt.net> |
|||
* |
|||
* Mumble-Django is free software; you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation; either version 2 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This package is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
""" |
|||
|
|||
from django.core.management.commands.shell import Command as OrigCommand |
|||
from mumble.murmurenvutils import MumbleCommandWrapper_noargs |
|||
|
|||
class Command( MumbleCommandWrapper_noargs, OrigCommand ): |
|||
pass |
@ -0,0 +1,21 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
""" |
|||
* Copyright (C) 2009, Michael "Svedrin" Ziegler <diese-addy@funzt-halt.net> |
|||
* |
|||
* Mumble-Django is free software; you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation; either version 2 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This package is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
""" |
|||
|
|||
from django.core.management.commands.syncdb import Command as OrigCommand |
|||
from mumble.murmurenvutils import MumbleCommandWrapper_noargs |
|||
|
|||
class Command( MumbleCommandWrapper_noargs, OrigCommand ): |
|||
pass |
Write
Preview
Loading…
Cancel
Save
Reference in new issue