from django.urls import path, include

from bitly.views import *


app_name = 'bitly'
urlpatterns = [
    path('new/', BitlinkCreateView.as_view(), name="create"),
    path('<shorten_hash>/', BitlinkRedirectView.as_view(), name="redirect"),
    path('<shorten_hash>/dashboard/', BitlinkDashboardView.as_view(), name="dashboard"),
]
