<commit_before>from django.conf.urls import url
from rest_framework.urlpatterns import format_suffix_patterns

import drivetracker.drives.views as views

urlpatterns = [
    url(r'^$', views.home, name='drives_home'),
    url(r'^api/drives/$', views.HardDriveList.as_view(),
        name='api_drives_list'),
    url(r'^api/drives/(?P<pk>[0-9]+)/$', views.HardDriveDetail.as_view(),
        name='api_drives_detail'),
    url(r'^api/drives/form/(?:/(?P<pk>[0-9]+)/)?$', views.edit_hard_drive_view,
        name='api_drives_form'),
    url(r'^api/drives/autocomplete/hosts/$',
        views.HostAutoComplete.as_view(create_field='name'),
        name='api_drives_autocomplete_hosts'),
    url(r'^api/drives/autocomplete/manufacturers/$',
        views.ManufacturerAutoComplete.as_view(create_field='name'),<commit_msg>Removing extraneous '/' in the url routing for the drive form.<commit_after>from django.conf.urls import url
from rest_framework.urlpatterns import format_suffix_patterns

import drivetracker.drives.views as views

urlpatterns = [
    url(r'^$', views.home, name='drives_home'),
    url(r'^api/drives/$', views.HardDriveList.as_view(),
        name='api_drives_list'),
    url(r'^api/drives/(?P<pk>[0-9]+)/$', views.HardDriveDetail.as_view(),
        name='api_drives_detail'),
    url(r'^api/drives/form/(?:(?P<pk>[0-9]+)/)?$', views.edit_hard_drive_view,
        name='api_drives_form'),
    url(r'^api/drives/autocomplete/hosts/$',
        views.HostAutoComplete.as_view(create_field='name'),
        name='api_drives_autocomplete_hosts'),
    url(r'^api/drives/autocomplete/manufacturers/$',
        views.ManufacturerAutoComplete.as_view(create_field='name'),
{'fraction_non_alphanumeric': 0.17083333333333334, 'fraction_numerical': 0.004761904761904762, 'mean_word_length': 4.756849315068493, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4794087', 'n_tokens_mistral': 639, 'n_tokens_neox': 583, 'n_words': 68}