<commit_before>from django.conf.urls import url
from django.contrib import auth
from .views import *

urlpatterns = [
    url(r'^$', index, name='images_index'),
    url(r'^export/(\d+)/auth/$', export_auth_view, name='images_export_auth'),
    url(r'^logout/', logout_view, name='images_logout'),
    url(r'^imageset/(\d+)/$', imagesetview, name='images_imagesetview'),
    url(r'^imageset/create/(\d+)/$', imagesetcreateview, name='images_imagesetcreateview'),
    url(r'^imageset/edit/(\d+)/$', imageseteditview, name='images_imageseteditview'),
    url(r'^imageset/delete/(\d+)/$', imagesetdeleteview, name='images_imagesetdeleteview'),
    url(r'^imageset/explore/$', exploreview, {'mode': 'imageset'}, name='images_exploreimagesetview'),
    url(r'^imageset/imagetagger_dl_script.sh$', dl_script, name='images_dl_script'),
    url(r'^tagview/(\d+)/$', tagview, name='images_tagview'),
    url(r'^tagview/edit/(\d+)/$', tageditview, name='images_tageditview'),
    url(r'^tagview/delete/(\d+)/$', tagdeleteview, name='images_tagdeleteview'),
    url(r'^tagview/edit/(\d+)/save/$', tageditsaveview, name='images_tageditsaveview'),
    url(r'^export/(\d+)/$', exportcreateview, name='images_exportview'),
    url(r'^export/(\d+)/download/$', exportdownloadview, name='images_exportdownloadview'),
    url(r'^manage/annotation/(\d+)/$', annotationmanageview, name='images_annotationmanageview'),
    url(r'^verify/(\d+)/$', verifyview, name='images_verifyview'),
    url(r'^imagelist/(\d+)/$', get_image_list, name='images_imagelist'),
    url(r'^image/(\d+)/$', imageview, name='images_imageview'),
    # this view will be shadowed by nginx via image_nginx auth and direct access
    url(r'^image_nginx/(\d+)/$', imageview, name='images_nginx_imageauth'),
    url(r'^image/upload/(\d+)/$', imageuploadview, name='images_imageuploadview'),
    url(r'^image/delete/(\d+)/$', imagedeleteview, name='images_imagedeleteview'),
    url(r'^user/(\d+)/$', userview, name='images_userview'),
    url(r'^user/create/$', createuserview, name='images_createuserview'),
    url(r'^user/explore/$', exploreview, {'mode': 'user'}, name='images_exploreuserview'),
    url(r'^team/(\d+)/$', teamview, name='images_teamview'),
    url(r'^team/create/$', createteamview, name='images_createteamview'),
    url(r'^team/explore/$', exploreview, {'mode': 'team'}, name='images_exploreteamview'),
    url(r'^team/(\d+)/leave/$', leaveteamview, name='images_leaveteamview'),
    url(r'^team/(\d+)/leave/(\d+)/$', leaveteamview, name='images_kickuserview'),
    url(r'^team/(\d+)/enthrone/(\d+)/$', enthroneview, name='images_enthroneuserview'),
    url(r'^team/(\d+)/dethrone/(\d+)/$', dethroneview, name='images_dethroneuserview'),
]<commit_msg>Images: Fix imports in urls.py<commit_after>from django.conf.urls import url
from django.contrib import auth

from . import views

urlpatterns = [
    url(r'^$', views.index, name='images_index'),
    url(r'^export/(\d+)/auth/$', views.export_auth_view, name='images_export_auth'),
    url(r'^logout/', views.logout_view, name='images_logout'),
    url(r'^imageset/(\d+)/$', views.imagesetview, name='images_imagesetview'),
    url(r'^imageset/create/(\d+)/$', views.imagesetcreateview, name='images_imagesetcreateview'),
    url(r'^imageset/edit/(\d+)/$', views.imageseteditview, name='images_imageseteditview'),
    url(r'^imageset/delete/(\d+)/$', views.imagesetdeleteview, name='images_imagesetdeleteview'),
    url(r'^imageset/explore/$', views.exploreview, {'mode': 'imageset'}, name='images_exploreimagesetview'),
    url(r'^imageset/imagetagger_dl_script.sh$', views.dl_script, name='images_dl_script'),
    url(r'^tagview/(\d+)/$', views.tagview, name='images_tagview'),
    url(r'^tagview/edit/(\d+)/$', views.tageditview, name='images_tageditview'),
    url(r'^tagview/delete/(\d+)/$', views.tagdeleteview, name='images_tagdeleteview'),
    url(r'^tagview/edit/(\d+)/save/$', views.tageditsaveview, name='images_tageditsaveview'),
    url(r'^export/(\d+)/$', views.exportcreateview, name='images_exportview'),
    url(r'^export/(\d+)/download/$', views.exportdownloadview, name='images_exportdownloadview'),
    url(r'^manage/annotation/(\d+)/$', views.annotationmanageview, name='images_annotationmanageview'),
    url(r'^verify/(\d+)/$', views.verifyview, name='images_verifyview'),
    url(r'^imagelist/(\d+)/$', views.get_image_list, name='images_imagelist'),
    url(r'^image/(\d+)/$', views.imageview, name='images_imageview'),
    # this view will be shadowed by nginx via image_nginx auth and direct access
    url(r'^image_nginx/(\d+)/$', views.imageview, name='images_nginx_imageauth'),
    url(r'^image/upload/(\d+)/$', views.imageuploadview, name='images_imageuploadview'),
    url(r'^image/delete/(\d+)/$', views.imagedeleteview, name='images_imagedeleteview'),
    url(r'^user/(\d+)/$', views.userview, name='images_userview'),
    url(r'^user/create/$', views.createuserview, name='images_createuserview'),
    url(r'^user/explore/$', views.exploreview, {'mode': 'user'}, name='images_exploreuserview'),
    url(r'^team/(\d+)/$', views.teamview, name='images_teamview'),
    url(r'^team/create/$', views.createteamview, name='images_createteamview'),
    url(r'^team/explore/$', views.exploreview, {'mode': 'team'}, name='images_exploreteamview'),
    url(r'^team/(\d+)/leave/$', views.leaveteamview, name='images_leaveteamview'),
    url(r'^team/(\d+)/leave/(\d+)/$', views.leaveteamview, name='images_kickuserview'),
    url(r'^team/(\d+)/enthrone/(\d+)/$', views.enthroneview, name='images_enthroneuserview'),
    url(r'^team/(\d+)/dethrone/(\d+)/$', views.dethroneview, name='images_dethroneuserview'),
]
{'fraction_non_alphanumeric': 0.22035695352535783, 'fraction_numerical': 0.0, 'mean_word_length': 6.173637515842839, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '960278', 'n_tokens_mistral': 2118, 'n_tokens_neox': 2033, 'n_words': 258}