Put a stub species_json in, as I'd listed it in the samples/urls.py
[htsworkflow.git] / htsworkflow / frontend / samples / views.py
index 7e865ac62228fa2559442e45782bcd5dd40b0308..f42c8bce7d53984ed227c696d487898a533ff755 100644 (file)
@@ -504,6 +504,12 @@ def library_json(request, library_id):
 
     lib_json = json.dumps(lib)
     return HttpResponse(lib_json, mimetype='application/json')
+
+def species_json(request, species_id):
+    """
+    Return information about a species.
+    """
+    raise Http404
     
 @login_required
 def user_profile(request):
@@ -519,3 +525,4 @@ def user_profile(request):
     context.update(SAMPLES_CONTEXT_DEFAULTS)
     return render_to_response('registration/profile.html', context,
                               context_instance=RequestContext(request))
+