from django.conf.urls import url

from . import views

urlpatterns = [
    url(r'^personal_timetable$', views.get_personal_timetable),
    url(r'^module_timeatable$', views.get_modules_timetable),
]

from django.conf.urls import url

from . import views

urlpatterns = [
    url(r'^personal$', views.get_personal_timetable),
    url(r'^bymodule$', views.get_modules_timetable),
]

Update url naming