summaryrefslogtreecommitdiffstats
path: root/src/jenkins/admin.py
blob: c4996702bc738f8c4594d2942b0b7cb1410b6aa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
##############################################################################
# Copyright (c) 2016 Max Breitenfeldt and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################


from django.conf import settings
from django.contrib import admin

from jenkins.models import JenkinsSlave

if settings.DEBUG:
    admin.site.register(JenkinsSlave)