"""codemancer URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.11/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import (url, include)
from django.contrib import admin
from rest_framework import routers
from pages.views import (
        snippet_detail, login_page, create_snippet,
        list_snippets, snippet_change, landing_page,
        LanguageViewSet, AnnotationViewSet, CommentViewSet)


router = routers.DefaultRouter()
router.register(r'tags', LanguageViewSet)
router.register(r'anos', AnnotationViewSet)
router.register(r'comms', CommentViewSet)

# create
urlpatterns = [
    url(r'^$', landing_page, name='landing_page'),
    url(r'^admin/', admin.site.urls),
    url(r'^login/', login_page, name='login_page'),
    url(r'^pasting/', create_snippet, name='create_snippet'),
    url(r'^listsnips/', list_snippets, name='list_snippets'),
    url(r'^detail/(?P<pk>\d+)', snippet_detail, name='snippet_detail'),
    url(r'^snippet/change/(?P<pk>\d+)', snippet_change, name='snippet_change'),
    url(r'^api/v1/', include(router.urls)),
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
]

db46daff6b2d9f72648a41ea8c20fc40a0c61e74
<mask token>

<mask token>
router.register('tags', LanguageViewSet)
router.register('anos', AnnotationViewSet)
router.register('comms', CommentViewSet)
<mask token>

<mask token>
router = routers.DefaultRouter()
router.register('tags', LanguageViewSet)
router.register('anos', AnnotationViewSet)
router.register('comms', CommentViewSet)
urlpatterns = [url('^$', landing_page, name='landing_page'), url('^admin/',
    admin.site.urls), url('^login/', login_page, name='login_page'), url(
    '^pasting/', create_snippet, name='create_snippet'), url('^listsnips/',
    list_snippets, name='list_snippets'), url('^detail/(?P<pk>\\d+)',
    snippet_detail, name='snippet_detail'), url(
    '^snippet/change/(?P<pk>\\d+)', snippet_change, name='snippet_change'),
    url('^api/v1/', include(router.urls)), url('^api-auth/', include(
    'rest_framework.urls', namespace='rest_framework'))]

<mask token>
from django.conf.urls import url, include
from django.contrib import admin
from rest_framework import routers
from pages.views import snippet_detail, login_page, create_snippet, list_snippets, snippet_change, landing_page, LanguageViewSet, AnnotationViewSet, CommentViewSet
router = routers.DefaultRouter()
router.register('tags', LanguageViewSet)
router.register('anos', AnnotationViewSet)
router.register('comms', CommentViewSet)
urlpatterns = [url('^$', landing_page, name='landing_page'), url('^admin/',
    admin.site.urls), url('^login/', login_page, name='login_page'), url(
    '^pasting/', create_snippet, name='create_snippet'), url('^listsnips/',
    list_snippets, name='list_snippets'), url('^detail/(?P<pk>\\d+)',
    snippet_detail, name='snippet_detail'), url(
    '^snippet/change/(?P<pk>\\d+)', snippet_change, name='snippet_change'),
    url('^api/v1/', include(router.urls)), url('^api-auth/', include(
    'rest_framework.urls', namespace='rest_framework'))]

"""codemancer URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.11/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import (url, include)
from django.contrib import admin
from rest_framework import routers
from pages.views import (
        snippet_detail, login_page, create_snippet,
        list_snippets, snippet_change, landing_page,
        LanguageViewSet, AnnotationViewSet, CommentViewSet)


router = routers.DefaultRouter()
router.register(r'tags', LanguageViewSet)
router.register(r'anos', AnnotationViewSet)
router.register(r'comms', CommentViewSet)

# create
urlpatterns = [
    url(r'^$', landing_page, name='landing_page'),
    url(r'^admin/', admin.site.urls),
    url(r'^login/', login_page, name='login_page'),
    url(r'^pasting/', create_snippet, name='create_snippet'),
    url(r'^listsnips/', list_snippets, name='list_snippets'),
    url(r'^detail/(?P<pk>\d+)', snippet_detail, name='snippet_detail'),
    url(r'^snippet/change/(?P<pk>\d+)', snippet_change, name='snippet_change'),
    url(r'^api/v1/', include(router.urls)),
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
]
