Revision b6426ead snf-webproject/synnefo/webproject/management/commands/link_static.py
b/snf-webproject/synnefo/webproject/management/commands/link_static.py | ||
---|---|---|
33 | 33 |
|
34 | 34 |
from django.utils.importlib import import_module |
35 | 35 |
from optparse import make_option |
36 |
|
|
37 |
from django.core.management.base import BaseCommand |
|
38 | 36 |
from django.conf import settings |
39 | 37 |
|
38 |
from snf_django.management.commands import SynnefoCommand |
|
39 |
|
|
40 | 40 |
STATIC_FILES = getattr(settings, "STATIC_FILES", {}) |
41 | 41 |
|
42 | 42 |
|
43 |
class Command(BaseCommand):
|
|
43 |
class Command(SynnefoCommand):
|
|
44 | 44 |
|
45 | 45 |
help = 'Symlink static files to directory specified' |
46 | 46 |
|
47 |
option_list = BaseCommand.option_list + (
|
|
47 |
option_list = SynnefoCommand.option_list + (
|
|
48 | 48 |
make_option( |
49 | 49 |
'--static-root', |
50 | 50 |
action='store', |
Also available in: Unified diff