from django.conf.urls import url
from django.contrib import admin
from url_shortener import views


urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^admin/', admin.site.urls),
    url(r'^api/redirect_code/(.+)/', views.api_get_redirect_code),
    url(r'^api/redirect_code/', views.api_create_redirect_code),
    url(r'^c/(.+)/', views.redirect_from_code),
]

25dad190b401ad329da1dadf9e3b53bd4df07b0c
<mask token>

<mask token>
urlpatterns = [url('^$', views.index, name='index'), url('^admin/', admin.
    site.urls), url('^api/redirect_code/(.+)/', views.api_get_redirect_code
    ), url('^api/redirect_code/', views.api_create_redirect_code), url(
    '^c/(.+)/', views.redirect_from_code)]

from django.conf.urls import url
from django.contrib import admin
from url_shortener import views
urlpatterns = [url('^$', views.index, name='index'), url('^admin/', admin.
    site.urls), url('^api/redirect_code/(.+)/', views.api_get_redirect_code
    ), url('^api/redirect_code/', views.api_create_redirect_code), url(
    '^c/(.+)/', views.redirect_from_code)]

from django.conf.urls import url
from django.contrib import admin
from url_shortener import views


urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^admin/', admin.site.urls),
    url(r'^api/redirect_code/(.+)/', views.api_get_redirect_code),
    url(r'^api/redirect_code/', views.api_create_redirect_code),
    url(r'^c/(.+)/', views.redirect_from_code),
]
