<commit_before>from django.conf.urls import url
from students import views
from django.views.generic import ListView


from .models import Student


urlpatterns = [
    url(r'^student/(?P<pk>\d+)$', views.student_profile, name='student_view',),
    url(r'^register/$', views.StudentRegister.as_view(),
        name="student_register",),
    url(r'^student/edit/', views.edit_profile, name="student_edit",),
    url(r'^student/list', views.students_list, name='students_list',),
    url(r'^student/list/uni/', ListView.as_view(template_name='students_list.html',
                                                context_object_name='students',
                                                queryset=Student.objects.all().order_by('university_id'),), name='student_list_order_uni'),<commit_msg>added function through hardcoding urls<commit_after>from django.conf.urls import url
from students import views
from django.views.generic import ListView


from .models import Student


urlpatterns = [
    url(r'^student/(?P<pk>\d+)$', views.student_profile, name='student_view',),
    url(r'^register/$', views.StudentRegister.as_view(),
        name="student_register",),
    url(r'^student/edit/', views.edit_profile, name="student_edit",),
    url(r'^student/list', views.students_list, name='students_list',),
    url(r'^student/list/uni/$', ListView.as_view(template_name='student_list.html',
                                                 context_object_name='students',
                                                 queryset=Student.objects.order_by('university_id'),), name='student_list_order_uni'),
    url(r'^student/list/name/$', ListView.as_view(template_name='student_list.html',
                                                     context_object_name='students',
                                                     queryset=Student.objects.order_by('name'),), name='student_list_order_name'),
{'fraction_non_alphanumeric': 0.1388888888888889, 'fraction_numerical': 0.0, 'mean_word_length': 2.802788844621514, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6839975', 'n_tokens_mistral': 529, 'n_tokens_neox': 514, 'n_words': 76}