summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard/notification
diff options
context:
space:
mode:
Diffstat (limited to 'pharos-dashboard/notification')
-rw-r--r--pharos-dashboard/notification/__init__.py10
-rw-r--r--pharos-dashboard/notification/admin.py10
-rw-r--r--pharos-dashboard/notification/apps.py10
-rw-r--r--pharos-dashboard/notification/models.py10
-rw-r--r--pharos-dashboard/notification/signals.py10
-rw-r--r--pharos-dashboard/notification/tasks.py10
6 files changed, 60 insertions, 0 deletions
diff --git a/pharos-dashboard/notification/__init__.py b/pharos-dashboard/notification/__init__.py
index 926c6e8..37dcbdd 100644
--- a/pharos-dashboard/notification/__init__.py
+++ b/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/pharos-dashboard/notification/admin.py b/pharos-dashboard/notification/admin.py
index 1fb5921..bcaa1ab 100644
--- a/pharos-dashboard/notification/admin.py
+++ b/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/pharos-dashboard/notification/apps.py b/pharos-dashboard/notification/apps.py
index 6039c7b..2de22c4 100644
--- a/pharos-dashboard/notification/apps.py
+++ b/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/pharos-dashboard/notification/models.py b/pharos-dashboard/notification/models.py
index 80f65df..2d19918 100644
--- a/pharos-dashboard/notification/models.py
+++ b/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/pharos-dashboard/notification/signals.py b/pharos-dashboard/notification/signals.py
index c1f33ac..936c25b 100644
--- a/pharos-dashboard/notification/signals.py
+++ b/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/pharos-dashboard/notification/tasks.py b/pharos-dashboard/notification/tasks.py
index ab3bddc..61ab14a 100644
--- a/pharos-dashboard/notification/tasks.py
+++ b/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