Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
delitamakanda committed Mar 6, 2024
1 parent fe5a9f9 commit f379330
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion courses/views.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import requests
import datetime
import os

from django import forms
from django.http import HttpResponseRedirect, HttpResponse
Expand Down Expand Up @@ -33,7 +34,12 @@

from courses.search import youtube_search

from datadog import api
from datadog import api, initialize

options = {
"api_key": os.getenv('DATADOG_API_KEY') or ''
}
initialize(**options)

title = "Something Happened uh oh"
text = "dummy text"
Expand Down

0 comments on commit f379330

Please sign in to comment.