diff options
author | maxbr <maxbr@mi.fu-berlin.de> | 2017-05-05 10:02:56 +0200 |
---|---|---|
committer | maxbr <maxbr@mi.fu-berlin.de> | 2017-05-05 10:28:14 +0200 |
commit | 2235d14f060327066ea035288ca97994c41fc65a (patch) | |
tree | 11fbc9a7a5d8083c2e1903c44aa4d146310ff49d /pharos-dashboard/src/notification | |
parent | 6a821ea00a481bd77a8522f8b7145b8d7ce35d7f (diff) |
Pharos Dashboard: Add manual resource management
Dev Pods are now managed by checking the "Dev pod" box in the Admin
Panel. This commit also fixes a dead image URL and the oauth process for the
dashboard URL.
Change-Id: Ic94160eb3a4504a369606261440df0e5354ac027
Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'pharos-dashboard/src/notification')
-rw-r--r-- | pharos-dashboard/src/notification/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pharos-dashboard/src/notification/tasks.py b/pharos-dashboard/src/notification/tasks.py index e2b34ca..7f73762 100644 --- a/pharos-dashboard/src/notification/tasks.py +++ b/pharos-dashboard/src/notification/tasks.py @@ -27,7 +27,7 @@ from dashboard_notification.notification import Notification, Message @shared_task def send_booking_notifications(): - with Notification(dashboard_url=settings.RABBITMQ_URL) as messaging: + with Notification(dashboard_url=settings.RABBITMQ_URL, user=settings.RABBITMQ_USER, password=settings.RABBITMQ_PASSWORD) as messaging: now = timezone.now() notifications = BookingNotification.objects.filter(submitted=False, submit_time__gt=now - timedelta(minutes=1), |