~chris.gagnon/helipad/graphics-dont-import-blank-iso-version

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from django.core.management import call_command
from django.core.urlresolvers import reverse_lazy
from django.conf.urls.defaults import include, patterns, url
from common.plugin_helper import (
    Extension,
)


class GraphicsExtension(Extension):

    URL_PATTERNS = patterns(
        '',
        url(r'^graphics/', include('graphics.urls')),
        url(r'^api/graphics/', include('graphics.urls_api')),
    )

    LINKS = [
        {
            'name': 'graphics',
            'url': reverse_lazy('openarena'),
            'label': 'Graphics',
            'index': 800,
        },
    ]

    def pull_data(self):
        call_command('jenkins_pull_phoronix')

    @classmethod
    def name(cls):
        return cls.__name__

extension = GraphicsExtension()