Restructure dashboard project for docker deploying
[pharos.git] / tools / pharos-dashboard / src / jenkins / admin.py
1 ##############################################################################
2 # Copyright (c) 2016 Max Breitenfeldt and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10
11 from django.conf import settings
12 from django.contrib import admin
13
14 from jenkins.models import JenkinsSlave
15
16 if settings.DEBUG:
17     admin.site.register(JenkinsSlave)