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

from . import views

5

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