Nenhuma descrição

urls.py 531B

123456789101112131415
  1. # from django.urls import include, path
  2. from rest_framework import routers
  3. from . import views
  4. from django.conf.urls import url, include
  5. # Wire up our API using automatic URL routing.
  6. # Additionally, we include login URLs for the browsable API.
  7. urlpatterns = [
  8. url(r'^api/insertar_fac$', views.insertarFacultades),
  9. url(r'^api/hello$', views.hello_world),
  10. url(r'^api/insertar_cursos$', views.insertarTodosLosCursos),
  11. url(r'api/fetch_matricula', views.fetchMatricula),
  12. url(r'api/test_query', views.testQuery)
  13. ]