from django.conf.urls import patterns, include, url
from django.contrib import admin
from rest_framework import routers
from djenealogy import views
from djenealogy import rest

router = routers.DefaultRouter()
router.register(r'individuals', rest.IndividualViewSet)
router.register(r'families', rest.FamilyViewSet)


urlpatterns = patterns('',
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
    url(r'^api/', include(router.urls, namespace='api')),
    url(r'^api/tree/$', rest.TreeView.as_view(), name='api-tree',),
    
    url(r'^$', views.index, name='index'),
)

220c9f6a81e92288c50add9d0fee0bbe5cad88bd
<mask token>

<mask token>
router.register('individuals', rest.IndividualViewSet)
router.register('families', rest.FamilyViewSet)
<mask token>

<mask token>
router = routers.DefaultRouter()
router.register('individuals', rest.IndividualViewSet)
router.register('families', rest.FamilyViewSet)
urlpatterns = patterns('', url('^api-auth/', include('rest_framework.urls',
    namespace='rest_framework')), url('^api/', include(router.urls,
    namespace='api')), url('^api/tree/$', rest.TreeView.as_view(), name=
    'api-tree'), url('^$', views.index, name='index'))

from django.conf.urls import patterns, include, url
from django.contrib import admin
from rest_framework import routers
from djenealogy import views
from djenealogy import rest
router = routers.DefaultRouter()
router.register('individuals', rest.IndividualViewSet)
router.register('families', rest.FamilyViewSet)
urlpatterns = patterns('', url('^api-auth/', include('rest_framework.urls',
    namespace='rest_framework')), url('^api/', include(router.urls,
    namespace='api')), url('^api/tree/$', rest.TreeView.as_view(), name=
    'api-tree'), url('^$', views.index, name='index'))

from django.conf.urls import patterns, include, url
from django.contrib import admin
from rest_framework import routers
from djenealogy import views
from djenealogy import rest

router = routers.DefaultRouter()
router.register(r'individuals', rest.IndividualViewSet)
router.register(r'families', rest.FamilyViewSet)


urlpatterns = patterns('',
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
    url(r'^api/', include(router.urls, namespace='api')),
    url(r'^api/tree/$', rest.TreeView.as_view(), name='api-tree',),
    
    url(r'^$', views.index, name='index'),
)
