urls.py 271 Bytes
Newer Older
1
from django.urls import re_path
Kenzo-Hugo Hillion's avatar
Kenzo-Hugo Hillion committed
2
3
4
5

from . import views

urlpatterns = [
6
    re_path(r'^api/genes/$', views.gene_list, name='genes'),
Kenzo-Hugo Hillion's avatar
Kenzo-Hugo Hillion committed
7
    re_path(r'^api/genes/(?P<gene_id>.*)$', views.gene_detail),
8
    re_path(r'^api/gene_length$', views.gene_length, name='gene_length'),
Kenzo-Hugo Hillion's avatar
Kenzo-Hugo Hillion committed
9
]