<commit_before>from django.conf.urls import patterns, url

urlpatterns = patterns('gnowsys_ndf.ndf.views.module',

                        # list
                        url(r'^[/]?$', 'list_modules', name='list_modules'),

						# create
                        url(r'^/create/?$', 'module_create_edit', {'cancel_url': 'landing_page'}, name='module_create'),
                        # edit
                        url(r'^/edit/(?P<module_id>[\w-]+)/?$', 'module_create_edit', name='module_edit'),

                        # detail
                        url(r'^/(?P<node_id>[\w-]+)/?$', 'module_detail', name='module_detail'),
                        url(r'^/(?P<node_id>[\w-]+)/(?P<title>[^/]+)/?$', 'module_detail', name='module_detail_url'),

                       )<commit_msg>units-order in module-detail<commit_after>from django.conf.urls import patterns, url

urlpatterns = patterns('gnowsys_ndf.ndf.views.module',

                        # list
                        url(r'^[/]?$', 'list_modules', name='list_modules'),

						# create
                        url(r'^/create/?$', 'module_create_edit', {'cancel_url': 'landing_page'}, name='module_create'),
                        # edit
                        url(r'^/edit/(?P<module_id>[\w-]+)/?$', 'module_create_edit', name='module_edit'),

                        # detail
                        url(r'^/(?P<node_id>[\w-]+)/reorder_units$', 'unit_order_list', name='unit_order_list'),
                        url(r'^/(?P<node_id>[\w-]+)/?$', 'module_detail', name='module_detail'),
                        url(r'^/(?P<node_id>[\w-]+)/(?P<title>[^/]+)/?$', 'module_detail', name='module_detail_url'),

                       )
{'fraction_non_alphanumeric': 0.19929245283018868, 'fraction_numerical': 0.0, 'mean_word_length': 1.8283333333333334, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '1357465', 'n_tokens_mistral': 563, 'n_tokens_neox': 511, 'n_words': 61}