summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard/api
diff options
context:
space:
mode:
Diffstat (limited to 'pharos-dashboard/api')
-rw-r--r--pharos-dashboard/api/__init__.py10
-rw-r--r--pharos-dashboard/api/serializers.py10
-rw-r--r--pharos-dashboard/api/urls.py10
-rw-r--r--pharos-dashboard/api/views.py10
4 files changed, 40 insertions, 0 deletions
diff --git a/pharos-dashboard/api/__init__.py b/pharos-dashboard/api/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/api/__init__.py
+++ b/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/pharos-dashboard/api/serializers.py b/pharos-dashboard/api/serializers.py
index c3875cc..78e6020 100644
--- a/pharos-dashboard/api/serializers.py
+++ b/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/pharos-dashboard/api/urls.py b/pharos-dashboard/api/urls.py
index 22f12eb..5206ac7 100644
--- a/pharos-dashboard/api/urls.py
+++ b/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/pharos-dashboard/api/views.py b/pharos-dashboard/api/views.py
index 78d7b8a..761ce6e 100644
--- a/pharos-dashboard/api/views.py
+++ b/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