projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c077be8
)
Put a stub species_json in, as I'd listed it in the samples/urls.py
author
Diane Trout
<diane@caltech.edu>
Sat, 19 Sep 2009 01:28:24 +0000
(
01:28
+0000)
committer
Diane Trout
<diane@caltech.edu>
Sat, 19 Sep 2009 01:28:24 +0000
(
01:28
+0000)
this implementation just always returns 404
htsworkflow/frontend/samples/views.py
patch
|
blob
|
history
diff --git
a/htsworkflow/frontend/samples/views.py
b/htsworkflow/frontend/samples/views.py
index 7e865ac62228fa2559442e45782bcd5dd40b0308..f42c8bce7d53984ed227c696d487898a533ff755 100644
(file)
--- a/
htsworkflow/frontend/samples/views.py
+++ b/
htsworkflow/frontend/samples/views.py
@@
-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))
+