<commit_before>from django.conf.urls import url
from Store.models import *
from . import views

#urlpatterns start here
urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^customer/', views.customer,name='customer'),
    url(r'^inventory/', views.inventory,name='inventory'),
    url(r'^purchase/', views.purchase,name='purchase'),
]<commit_msg>Adding urls to provide suitable REST responses<commit_after>from django.conf.urls import url
from Store.models import *
from . import views

#urlpatterns start here
urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^about$', views.about, name='about'),
    url(r'^contact$', views.contact, name='contact'),
    url(r'^login$', views.login, name='login'),
	url(r'^(?P<customerId>[0-9]+)/customer/$', views.customerDetails, name = "customerDetails"),
    url(r'^customer/', views.customer, name='customer'),
    url(r'^(?P<inventoryId>[0-9]+)/inventory/$', views.inventoryDetails, name = "inventoryDetails"),
    url(r'^inventory/', views.inventory, name='inventory'),
    url(r'^(?P<purchaseId>[0-9]+)/purchase/$', views.purchaseDetails, name = "purchaseDetails"),
    url(r'^purchase/', views.purchase, name='purchase'),
]
{'fraction_non_alphanumeric': 0.19850498338870431, 'fraction_numerical': 0.0049833887043189366, 'mean_word_length': 5.694444444444445, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '6458295', 'n_tokens_mistral': 415, 'n_tokens_neox': 397, 'n_words': 76}