summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/notification
diff options
context:
space:
mode:
authormaxbr <maxbr@mi.fu-berlin.de>2016-09-21 17:51:57 +0200
committermaxbr <maxbr@mi.fu-berlin.de>2016-09-21 17:56:05 +0200
commit8437441564f8b1673c07497011779b1e35d55c80 (patch)
tree5ab04e3fe5c7520c1a5a990fc30da5ca147415f2 /tools/pharos-dashboard/notification
parentdcc6fa43043c685b7443cbc27da12ad9bf2225c4 (diff)
Add license headers
JIRA: RELENG-12 Change-Id: I6aeb82b2f72d086b70737f86282f8ed0c48f83cf Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'tools/pharos-dashboard/notification')
-rw-r--r--tools/pharos-dashboard/notification/__init__.py10
-rw-r--r--tools/pharos-dashboard/notification/admin.py10
-rw-r--r--tools/pharos-dashboard/notification/apps.py10
-rw-r--r--tools/pharos-dashboard/notification/models.py10
-rw-r--r--tools/pharos-dashboard/notification/signals.py10
-rw-r--r--tools/pharos-dashboard/notification/tasks.py10
6 files changed, 60 insertions, 0 deletions
diff --git a/tools/pharos-dashboard/notification/__init__.py b/tools/pharos-dashboard/notification/__init__.py
index 926c6e80..37dcbddf 100644
--- a/tools/pharos-dashboard/notification/__init__.py
+++ b/tools/pharos-dashboard/notification/__init__.py
@@ -1 +1,11 @@
+##############################################################################
+# 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
+##############################################################################
+
+
default_app_config = 'notification.apps.NotificationConfig' \ No newline at end of file
diff --git a/tools/pharos-dashboard/notification/admin.py b/tools/pharos-dashboard/notification/admin.py
index 1fb5921f..bcaa1ab7 100644
--- a/tools/pharos-dashboard/notification/admin.py
+++ b/tools/pharos-dashboard/notification/admin.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 django.conf import settings
from django.contrib import admin
diff --git a/tools/pharos-dashboard/notification/apps.py b/tools/pharos-dashboard/notification/apps.py
index 6039c7bd..2de22c4e 100644
--- a/tools/pharos-dashboard/notification/apps.py
+++ b/tools/pharos-dashboard/notification/apps.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 django.apps import AppConfig
diff --git a/tools/pharos-dashboard/notification/models.py b/tools/pharos-dashboard/notification/models.py
index 80f65df4..2d199181 100644
--- a/tools/pharos-dashboard/notification/models.py
+++ b/tools/pharos-dashboard/notification/models.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 django.db import models
class BookingNotification(models.Model):
diff --git a/tools/pharos-dashboard/notification/signals.py b/tools/pharos-dashboard/notification/signals.py
index c1f33ac0..936c25ba 100644
--- a/tools/pharos-dashboard/notification/signals.py
+++ b/tools/pharos-dashboard/notification/signals.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 django.db.models.signals import post_save
from django.dispatch import receiver
diff --git a/tools/pharos-dashboard/notification/tasks.py b/tools/pharos-dashboard/notification/tasks.py
index ab3bddc7..61ab14af 100644
--- a/tools/pharos-dashboard/notification/tasks.py
+++ b/tools/pharos-dashboard/notification/tasks.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 celery import shared_task
from datetime import timedelta