<commit_before>from django.conf.urls.defaults import *

from geartracker.models import *
from geartracker.views import *

urlpatterns = patterns('',
    url(r'^$',
        view = index,
        name = 'geartracker_home'
    ),
    url(r'^category/(?P<category>[-\w]+)/(?P<type>[-\w]+)/$',
        view=TypeItemsView.as_view(),
        name = 'geartracker_type_items'
    ),
    url(r'^category/(?P<slug>[-\w]+)/$',
        view=CategoryItemsView.as_view(),
        name='geartracker_category_items'
    ),
    url(r'^category/$',
        view=CategoryListView.as_view(),
        name='geartracker_category_list'
    ),
    url(r'^all/$',
        view=ItemListView.as_view(),
        name='geartracker_item_list'
    ),
    url(r'^tags/(?P<slug>[-\w]+)/$',
        view=TagItemsView.as_view(),
        name='geartracker_tag_items'
    ),
    url(r'^tags/$',
        view=TagListView.as_view(),
        name='geartracker_tag_list'
    ),
    url(r'^list/$',
        view=ListListView.as_view(),
        name='geartracker_list_list'
    ),
    url(r'^list/(?P<slug>[-\w]+)/$',
        view=ListDetailView.as_view(),
        name='geartracker_list_detail'
    ),
    url(r'^(?P<slug>[-\w]+)/$',
        view=ItemDetailView.as_view(),
        name='geartracker_item_detail'
    ),
)
<commit_msg>Reorganize URLs<commit_after>from django.conf.urls.defaults import *

from geartracker.models import *
from geartracker.views import *

urlpatterns = patterns('',
    url(r'^$',
        view = index,
        name = 'geartracker_home'
    ),
    url(r'^all/$',
        view=ItemListView.as_view(),
        name='geartracker_item_list'
    ),
    url(r'^category/$',
        view=CategoryListView.as_view(),
        name='geartracker_category_list'
    ),
    url(r'^category/(?P<slug>[-\w]+)/$',
        view=CategoryItemsView.as_view(),
        name='geartracker_category_items'
    ),
    url(r'^category/(?P<category>[-\w]+)/(?P<type>[-\w]+)/$',
        view=TypeItemsView.as_view(),
        name = 'geartracker_type_items'
    ),
    url(r'^tags/$',
        view=TagListView.as_view(),
        name='geartracker_tag_list'
    ),
    url(r'^tags/(?P<slug>[-\w]+)/$',
        view=TagItemsView.as_view(),
        name='geartracker_tag_items'
    ),
    url(r'^list/$',
        view=ListListView.as_view(),
        name='geartracker_list_list'
    ),
    url(r'^list/(?P<slug>[-\w]+)/$',
        view=ListDetailView.as_view(),
        name='geartracker_list_detail'
    ),
    url(r'^(?P<slug>[-\w]+)/$',
        view=ItemDetailView.as_view(),
        name='geartracker_item_detail'
    ),
)

{'fraction_non_alphanumeric': 0.19209914794732766, 'fraction_numerical': 0.0, 'mean_word_length': 2.743478260869565, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '3262944', 'n_tokens_mistral': 979, 'n_tokens_neox': 947, 'n_words': 89}