<commit_before>from django.conf.urls import url, include
from django.views.generic import TemplateView
from .views import *
from django.conf.urls.static import static
from . import views
urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^contact/',  views.contact, name='contact'),
    url(r'^register/$', RegisterView.as_view(), name='register'), #registration page
    url(r'^login/$', LoginView.as_view(), name='login'),
    url(r'^logout/$', views.logout, name='logout'),
    url(r'^profile/$', views.profile, name='profile'), #the logged in users own profile
    url(r'^(?P<user>[\w\-]+)/$', views.detail, name='detail'),
    url(r'^(?P<user>[\w\-]+)/images/$', ImageManagementView.as_view(), name='image_listing'), #the logged in users own profile
    url(r'^(?P<user>[\w\-]+)/edit/$', PortfolioUpdate.as_view(), name='portfolio_update'),
    url(r'^(?P<user>[\w\-]+)/project/new/$', ProjectCreate.as_view(), name='project_create'),
]<commit_msg>Fixed contact page URL<commit_after>from django.conf.urls import url, include
from django.views.generic import TemplateView
from .views import *
from django.conf.urls.static import static
from . import views
urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^contact/$',  views.contact, name='contact'),
    url(r'^register/$', RegisterView.as_view(), name='register'), #registration page
    url(r'^login/$', LoginView.as_view(), name='login'),
    url(r'^logout/$', views.logout, name='logout'),
    url(r'^profile/$', views.profile, name='profile'), #the logged in users own profile
    url(r'^(?P<user>[\w\-]+)/$', views.detail, name='detail'),
    url(r'^(?P<user>[\w\-]+)/images/$', ImageManagementView.as_view(), name='image_listing'), #the logged in users own profile
    url(r'^(?P<user>[\w\-]+)/edit/$', PortfolioUpdate.as_view(), name='portfolio_update'),
    url(r'^(?P<user>[\w\-]+)/project/new/$', ProjectCreate.as_view(), name='project_create'),
]
{'fraction_non_alphanumeric': 0.22182377049180327, 'fraction_numerical': 0.0, 'mean_word_length': 5.3, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3901709', 'n_tokens_mistral': 661, 'n_tokens_neox': 640, 'n_words': 131}