
from django.conf.urls import include, url
from django.views.generic import RedirectView
from . import views

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = [
    url(r"^$", RedirectView.as_view(url="api/v2/")),
    url(
        r"^api-auth/",
        include("rest_framework.urls", namespace="rest_framework"),
    ),
    # url(r"^api/v1/", include("api.urls")),
    url(r"^api/v2/", include("api_v2.urls")),
    url(r"^health$", views.health),
]


from django.conf.urls import include, url
from django.views.generic import RedirectView
from . import views

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = [
    url(r"^$", RedirectView.as_view(url="api/v2/")),
    url(
        r"^api-auth/",
        include("rest_framework.urls", namespace="rest_framework"),
    ),
    url(r"^api/v2/", include("api_v2.urls")),
    url(r"^health$", views.health),
]

Remove commented-out reference to v1
Remove commented-out reference to v1

Signed-off-by: Nicholas Rempel <b7f0f2181f2dc324d159332b253a82a715a40706@gmail.com>

  
  from django.conf.urls import include, url
  from django.views.generic import RedirectView
  from . import views
  
  # Uncomment the next two lines to enable the admin:
  # from django.contrib import admin
  # admin.autodiscover()
  
  urlpatterns = [
      url(r"^$", RedirectView.as_view(url="api/v2/")),
      url(
          r"^api-auth/",
          include("rest_framework.urls", namespace="rest_framework"),
      ),
-     # url(r"^api/v1/", include("api.urls")),
      url(r"^api/v2/", include("api_v2.urls")),
      url(r"^health$", views.health),
  ]
  
Remove commented-out reference to v1
## Code Before:

from django.conf.urls import include, url
from django.views.generic import RedirectView
from . import views

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = [
    url(r"^$", RedirectView.as_view(url="api/v2/")),
    url(
        r"^api-auth/",
        include("rest_framework.urls", namespace="rest_framework"),
    ),
    # url(r"^api/v1/", include("api.urls")),
    url(r"^api/v2/", include("api_v2.urls")),
    url(r"^health$", views.health),
]

## Instruction:
Remove commented-out reference to v1
## Code After:

from django.conf.urls import include, url
from django.views.generic import RedirectView
from . import views

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = [
    url(r"^$", RedirectView.as_view(url="api/v2/")),
    url(
        r"^api-auth/",
        include("rest_framework.urls", namespace="rest_framework"),
    ),
    url(r"^api/v2/", include("api_v2.urls")),
    url(r"^health$", views.health),
]
