<commit_before>from django.conf.urls import patterns, url
from django.views.generic import ListView, DetailView
from django.views.generic.edit import CreateView, UpdateView

from crm.models import Company, Group, Department

urlpatterns = patterns("djinn_crm.views",
	url(r'^group/list/$',
		ListView.as_view(
			model=Group,
			paginate_by=10,
			context_object_name="group_list"
		),
		name="crm_group_list"
	),
	url(r'^group/detail/(?P<pk>\d+)/$',
		DetailView.as_view(
			model=Group,
			context_object_name="group"
		),
		name="crm_group_detail"
	),
	url(r'^group/edit/(?P<pk>\d+)/$',
		UpdateView.as_view(
			model=Group,
		),
		name="crm_group_edit"
	),
	url(r'^group/create/$',
		CreateView.as_view(
			model = Group
		),
		name="crm_group_create"
	),
    url(r'^company/list/$',
		ListView.as_view(
			model=Company,
        	paginate_by=10,
			context_object_name="company_list"
		),
		name="crm_company_list"
	),
    url(r'^company/detail/(?P<pk>\d+)/$',
		DetailView.as_view(
			model=Company,
        	context_object_name="company"
		),
		name="crm_company_detail"
	),
    url(r'^company/edit/(?P<pk>\d+)/$',
		UpdateView.as_view(
			model=Company,
		),
		name="crm_company_edit"
	),
	url(r'^company/create/$',
		CreateView.as_view(
			model=Company
		),
		name="crm_company_create"
	),
    url(r'^department/detail/(?P<pk>\d+)/$',
		DetailView.as_view(
			model=Department,
        	context_object_name="department"
		),
		name="crm_department_detail"
	),
    url(r'^department/edit/(?P<pk>\d+)/$',
		UpdateView.as_view(
			model=Department,<commit_msg>set default url to company list<commit_after>from django.conf.urls import patterns, url
from django.views.generic import ListView, DetailView
from django.views.generic.edit import CreateView, UpdateView

from crm.models import Company, Group, Department

urlpatterns = patterns("djinn_crm.views",
    url(r'^$',
		ListView.as_view(
			model=Company,
        	paginate_by=10,
			context_object_name="company_list"
		),
		name="crm_company_list"
	),
	url(r'^group/list/$',
		ListView.as_view(
			model=Group,
			paginate_by=10,
			context_object_name="group_list"
		),
		name="crm_group_list"
	),
	url(r'^group/detail/(?P<pk>\d+)/$',
		DetailView.as_view(
			model=Group,
			context_object_name="group"
		),
		name="crm_group_detail"
	),
	url(r'^group/edit/(?P<pk>\d+)/$',
		UpdateView.as_view(
			model=Group,
		),
		name="crm_group_edit"
	),
	url(r'^group/create/$',
		CreateView.as_view(
			model = Group
		),
		name="crm_group_create"
	),
    url(r'^company/detail/(?P<pk>\d+)/$',
		DetailView.as_view(
			model=Company,
        	context_object_name="company"
		),
		name="crm_company_detail"
	),
    url(r'^company/edit/(?P<pk>\d+)/$',
		UpdateView.as_view(
			model=Company,
		),
		name="crm_company_edit"
	),
	url(r'^company/create/$',
		CreateView.as_view(
			model=Company
		),
		name="crm_company_create"
	),
    url(r'^department/detail/(?P<pk>\d+)/$',
		DetailView.as_view(
			model=Department,
        	context_object_name="department"
		),
		name="crm_department_detail"
	),
    url(r'^department/edit/(?P<pk>\d+)/$',
		UpdateView.as_view(
			model=Department,
{'fraction_non_alphanumeric': 0.17139216310927047, 'fraction_numerical': 0.002548582351067219, 'mean_word_length': 4.181518151815181, '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': '3768502', 'n_tokens_mistral': 1393, 'n_tokens_neox': 1240, 'n_words': 144}