Permalink
Browse files

minor cleanup

  • Loading branch information...
1 parent 573a608 commit 08d55ecbcd86d28c96eb9c961093ed9aed49860d @wraithan wraithan committed Oct 27, 2013
Showing with 3 additions and 2 deletions.
  1. +0 −1 deploy_requirements.txt
  2. +1 −0 pip_requirements.txt
  3. +1 −1 readthedocs/restapi/views.py
  4. +1 −0 readthedocs/search/parse_json.py
View
@@ -10,5 +10,4 @@ django-redis-cache==0.9.5
pillow
#Uncomment this if you want to index things in solr.
-pyquery==1.2.2
cssselect==0.7.1
View
@@ -19,6 +19,7 @@ github2==0.5.2
httplib2==0.7.2
mercurial==2.6.3
mimeparse==0.1.3
+pyquery==1.2.2
redis==2.7.1
simplejson==2.3.0
south==0.7.6
@@ -198,7 +198,7 @@ def index_search(request):
'_boost': 5, # scaled_page[page]
}
"""
- page_obj = Page()
+ page_obj = PageIndex()
data = json.loads(request.raw_post_data)['data']
page_list = data['page_list']
project_pk = data['project_pk']
@@ -37,6 +37,7 @@ def process_file(filename):
data = json.loads(file_contents)
headers = []
content = ''
+ title = ''
if 'current_page_name' in data:
path = data['current_page_name']
else:

0 comments on commit 08d55ec

Please sign in to comment.