from django.conf.urls.defaults import patterns, url

from . import views


urlpatterns = patterns(
    '',
    url('^$',
        views.home,
        name='home'),
    url('^featured-versions/$',
        views.featured_versions,
        name='featured_versions'),
    url('^featured-versions/update/$',
        views.update_featured_versions,
        name='update_featured_versions'),
    url('^fields/$',
        views.fields,
        name='fields'),
    url('^fields/lookup/$',
        views.field_lookup,
        name='field_lookup'),
    url('^skiplist/$',
        views.skiplist,
        name='skiplist'),
    url('^skiplist/add/$',
        views.skiplist_add,
        name='skiplist_add'),
    url('^skiplist/data/$',
        views.skiplist_data,
        name='skiplist_data'),
    url('^skiplist/delete/$',
        views.skiplist_delete,
        name='skiplist_delete'),
    url('^users/$',
        views.users,
        name='users'),
    url('^users/data/$',
        views.users_data,
        name='users_data'),
    url('^users/(?P<id>\d+)/$',
        views.user,
        name='user'),
    url('^groups/$',
        views.groups,
        name='groups'),
    url('^groups/(?P<id>\d+)/$',
        views.group,
        name='group'),
    url('^analyze-model-fetches/$',
        views.analyze_model_fetches,
        name='analyze_model_fetches'),
    url('^graphics-devices/$',
        views.graphics_devices,
        name='graphics_devices'),
    url('^graphics-devices/lookup/$',
        views.graphics_devices_lookup,
        name='graphics_devices_lookup'),
    url('^symbols-uploads/$',
        views.symbols_uploads,
        name='symbols_uploads'),
)
