from django.conf.urls import url
from . import views
from rest_framework_swagger.views import get_swagger_view

schema_view = get_swagger_view(title='hackoregon_budget')

# Listed in alphabetical order.
urlpatterns = [
	url(r'^$', schema_view),
    url(r'^kpm/$', views.ListKpm.as_view()),
    url(r'^ocrb/$', views.ListOcrb.as_view()),
    url(r'^summary/', views.FindOperatingAndCapitalRequirements.as_view()),
]
from django.conf.urls import url
from . import views
from rest_framework_swagger.views import get_swagger_view

schema_view = get_swagger_view(title='hackoregon_budget')

# Listed in alphabetical order.
urlpatterns = [
	url(r'^$', schema_view),
    url(r'^kpm/$', views.ListKpm.as_view()),
    url(r'^ocrb/$', views.ListOcrb.as_view()),
    url(r'^ocrb-prod/$', views.OcrbList.as_view()),
    url(r'^kpm-prod/$', views.KpmList.as_view()),
    url(r'^summary/', views.FindOperatingAndCapitalRequirements.as_view()),
]
Add endpoints for AWS production feeds
Add endpoints for AWS production feeds

Added endpoints for pulling the data from AWS (vs pulling from CSV)

  from django.conf.urls import url
  from . import views
  from rest_framework_swagger.views import get_swagger_view
  
  schema_view = get_swagger_view(title='hackoregon_budget')
  
  # Listed in alphabetical order.
  urlpatterns = [
  	url(r'^$', schema_view),
      url(r'^kpm/$', views.ListKpm.as_view()),
      url(r'^ocrb/$', views.ListOcrb.as_view()),
+     url(r'^ocrb-prod/$', views.OcrbList.as_view()),
+     url(r'^kpm-prod/$', views.KpmList.as_view()),
      url(r'^summary/', views.FindOperatingAndCapitalRequirements.as_view()),
  ]
Add endpoints for AWS production feeds
## Code Before:
from django.conf.urls import url
from . import views
from rest_framework_swagger.views import get_swagger_view

schema_view = get_swagger_view(title='hackoregon_budget')

# Listed in alphabetical order.
urlpatterns = [
	url(r'^$', schema_view),
    url(r'^kpm/$', views.ListKpm.as_view()),
    url(r'^ocrb/$', views.ListOcrb.as_view()),
    url(r'^summary/', views.FindOperatingAndCapitalRequirements.as_view()),
]
## Instruction:
Add endpoints for AWS production feeds
## Code After:
from django.conf.urls import url
from . import views
from rest_framework_swagger.views import get_swagger_view

schema_view = get_swagger_view(title='hackoregon_budget')

# Listed in alphabetical order.
urlpatterns = [
	url(r'^$', schema_view),
    url(r'^kpm/$', views.ListKpm.as_view()),
    url(r'^ocrb/$', views.ListOcrb.as_view()),
    url(r'^ocrb-prod/$', views.OcrbList.as_view()),
    url(r'^kpm-prod/$', views.KpmList.as_view()),
    url(r'^summary/', views.FindOperatingAndCapitalRequirements.as_view()),
]