Commit 7d4b30c9 authored by Mathieu Courcelles's avatar Mathieu Courcelles

Adds alive view

parent 4840701c
Pipeline #8670579 passed with stage
in 2 minutes and 5 seconds
......@@ -51,6 +51,16 @@ modification_name_symbol = {
}
def alive(request):
"""
Returns HttpResponse with status 204
:param request: HttpRequest
:return: HttpResponse
"""
return HttpResponse(status=204)
def format_peptide_seq_with_mod(peptide):
"""
......
......@@ -11,7 +11,7 @@ from django.contrib import admin
from django.views.generic import RedirectView
# Import project libraries
from CLMSVault.CLMSVault_app.views import clpeptide_msms, clpeptide_validation
from CLMSVault.CLMSVault_app.views import alive, clpeptide_msms, clpeptide_validation
admin.autodiscover()
......@@ -47,6 +47,7 @@ urlpatterns = patterns(
clpeptide_validation,
name='msms_validation'),
url(r'^alive/', alive),
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment