This commit is contained in:
Kenneth Love
2012-01-16 14:16:25 -08:00
parent 5d1b3df19c
commit eb0a8cf3d5
2 changed files with 2 additions and 3 deletions

View File

@@ -1,6 +1,5 @@
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from django.core.urlresolvers import reverse
from django.http import HttpResponse
from django.utils import simplejson as json
from django.views.generic import View
@@ -26,6 +25,6 @@ class DjrillIndexView(View):
"url to your settings.py")
payload = json.dumps({"key": api_key})
r = requests.post("%susers/info.json" % api_url, data=payload)
r = requests.post("%s/users/info.json" % api_url, data=payload)
return HttpResponse(r.content)

View File

@@ -22,7 +22,7 @@ DATABASES = {
# MANDRILL API KEY
MANDRILL_API_KEY = ""
MANDRILL_API_URL = "https://mandrillapp.com/api/1.0"
MANDRILL_API_URL = "http://mandrillapp.com/api/1.0"
# Local time zone for this installation. Choices can be found here: