src/egonomy/urls.py
changeset 24 d65e05154aec
parent 23 bb7819c8d7c2
child 27 daaafc916dc4
equal deleted inserted replaced
23:bb7819c8d7c2 24:d65e05154aec
    11     url(r'^$', 'egonomy.views.home', name='home'),
    11     url(r'^$', 'egonomy.views.home', name='home'),
    12     url(r'^annotate/(?P<image_id>.*)/$', 'egonomy.views.annotate_picture', name='annotate_picture'),
    12     url(r'^annotate/(?P<image_id>.*)/$', 'egonomy.views.annotate_picture', name='annotate_picture'),
    13     url(r'^viewfragment/(?P<fragment_pk>.*)/$', 'egonomy.views.view_fragment', name='view_fragment'),
    13     url(r'^viewfragment/(?P<fragment_pk>.*)/$', 'egonomy.views.view_fragment', name='view_fragment'),
    14     url(r'^createfragment/(?P<image_id>.*)/$', 'egonomy.views.create_fragment', name='create_fragment'),
    14     url(r'^createfragment/(?P<image_id>.*)/$', 'egonomy.views.create_fragment', name='create_fragment'),
    15     url(r'^savefragment/$', 'egonomy.views.save_fragment', name='save_fragment'),
    15     url(r'^savefragment/$', 'egonomy.views.save_fragment', name='save_fragment'),
       
    16     url(r'^all/$', 'egonomy.views.all_pictures', name='all_pictures'),
    16 
    17 
    17     # Uncomment the admin/doc line below to enable admin documentation:
    18     # Uncomment the admin/doc line below to enable admin documentation:
    18     url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    19     url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    19     # Uncomment the next line to enable the admin:
    20     # Uncomment the next line to enable the admin:
    20     url(r'^admin/', include(admin.site.urls)),
    21     url(r'^admin/', include(admin.site.urls)),