<commit_before>from django.conf.urls import include
from django.conf.urls import patterns
from django.conf.urls import url
from rest_framework.routers import DefaultRouter

from nodeconductor.vm import views


router = DefaultRouter()
router.register(r'cloud', views.CloudViewSet)
router.register(r'instances', views.InstanceViewSet)
router.register(r'flavor', views.FlavorViewSet)
router.register(r'templates', views.TemplateViewSet)


urlpatterns = patterns(
    '',
    url(r'^', include(router.urls)),
)
<commit_msg>Pluralize resource urls<commit_after>from django.conf.urls import include
from django.conf.urls import patterns
from django.conf.urls import url
from rest_framework.routers import DefaultRouter

from nodeconductor.vm import views


router = DefaultRouter()
router.register(r'clouds', views.CloudViewSet)
router.register(r'instances', views.InstanceViewSet)
router.register(r'flavors', views.FlavorViewSet)
router.register(r'templates', views.TemplateViewSet)


urlpatterns = patterns(
    '',
    url(r'^', include(router.urls)),
)

{'fraction_non_alphanumeric': 0.11026615969581749, 'fraction_numerical': 0.0, 'mean_word_length': 6.575539568345324, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5797706', 'n_tokens_mistral': 320, 'n_tokens_neox': 321, 'n_words': 70}