<commit_before>from django.conf.urls import patterns, url, include
from farmers import views
from rest_framework.routers import DefaultRouter
from agriapi import settings

# Create a router and register our viewsets with it.
router = DefaultRouter()
router.register(r'farmers', views.FarmerViewSet)
router.register(r'users', views.UserViewSet)
router.register(r'receipts', views.ReceiptViewSet)
router.register(r'farms', views.FarmViewSet)
router.register(r'crops', views.CropViewSet)
router.register(r'livestock', views.LivestockViewSet)
router.register(r'prices', views.PriceViewSet)

# The API URLs are now determined automatically by the router.<commit_msg>removed receipts and users as resources<commit_after>from django.conf.urls import patterns, url, include
from farmers import views
from rest_framework.routers import DefaultRouter
from agriapi import settings

# Create a router and register our viewsets with it.
router = DefaultRouter()
router.register(r'farmers', views.FarmerViewSet)
#router.register(r'users', views.UserViewSet)
#router.register(r'receipts', views.ReceiptViewSet)
router.register(r'farms', views.FarmViewSet)
router.register(r'crops', views.CropViewSet)
router.register(r'livestock', views.LivestockViewSet)
router.register(r'prices', views.PriceViewSet)

# The API URLs are now determined automatically by the router.
{'fraction_non_alphanumeric': 0.0962962962962963, 'fraction_numerical': 0.0, 'mean_word_length': 7.550632911392405, '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': '4947658', 'n_tokens_mistral': 413, 'n_tokens_neox': 399, 'n_words': 110}