Skip to content
Snippets Groups Projects
Commit 2048d7f8 authored by Xinjie Lan's avatar Xinjie Lan
Browse files

Update views.py

parent 7a9fe8f2
Branches
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ from django.http import Http404,HttpResponseRedirect ...@@ -3,7 +3,7 @@ from django.http import Http404,HttpResponseRedirect
from django.shortcuts import render_to_response from django.shortcuts import render_to_response
from couchdb import Server from couchdb import Server
try: try:
SERVER = Server('http://localhost:5984') SERVER = Server('http:/172.26.38.157:5984')
if (len(SERVER) == 0): if (len(SERVER) == 0):
SERVER.create('tweet_results') SERVER.create('tweet_results')
error = "no" error = "no"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment