summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/api
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pharos-dashboard/api')
-rw-r--r--tools/pharos-dashboard/api/__init__.py10
-rw-r--r--tools/pharos-dashboard/api/serializers.py10
-rw-r--r--tools/pharos-dashboard/api/urls.py10
-rw-r--r--tools/pharos-dashboard/api/views.py10
4 files changed, 40 insertions, 0 deletions
diff --git a/tools/pharos-dashboard/api/__init__.py b/tools/pharos-dashboard/api/__init__.py
index e69de29b..b5914ce7 100644
--- a/tools/pharos-dashboard/api/__init__.py
+++ b/tools/pharos-dashboard/api/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# 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
+##############################################################################
+
+
diff --git a/tools/pharos-dashboard/api/serializers.py b/tools/pharos-dashboard/api/serializers.py
index c3875cca..78e6020e 100644
--- a/tools/pharos-dashboard/api/serializers.py
+++ b/tools/pharos-dashboard/api/serializers.py
@@ -1,3 +1,13 @@
+##############################################################################
+# 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 rest_framework import serializers
from booking.models import Booking
diff --git a/tools/pharos-dashboard/api/urls.py b/tools/pharos-dashboard/api/urls.py
index 22f12eb6..5206ac7f 100644
--- a/tools/pharos-dashboard/api/urls.py
+++ b/tools/pharos-dashboard/api/urls.py
@@ -1,3 +1,13 @@
+##############################################################################
+# 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
+##############################################################################
+
+
"""pharos_dashboard URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
diff --git a/tools/pharos-dashboard/api/views.py b/tools/pharos-dashboard/api/views.py
index 78d7b8a9..761ce6e7 100644
--- a/tools/pharos-dashboard/api/views.py
+++ b/tools/pharos-dashboard/api/views.py
@@ -1,3 +1,13 @@
+##############################################################################
+# 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 rest_framework import viewsets
from api.serializers import ResourceSerializer, ServerSerializer, BookingSerializer