<commit_before>from django.conf.urls.defaults import *
from django.contrib.auth.decorators import login_required
from . import views

urlpatterns = patterns('',
    url(r"^xforms/$", login_required(views.xforms), name="xforms"),
    url(r"^xforms/new/$", login_required(views.new_xform)),
    url(r"^xforms/(\d+)/submissions/$", login_required(views.view_submissions)),
    url(r"^xforms/submissions/(\d+)/edit/$", login_required(views.edit_submission)),
    url(r"^xforms/(\d+)/edit/$", login_required(views.edit_xform)),
    url(r"^xforms/(\d+)/order/$", login_required(views.order_xform)),
    url(r"^xforms/(\d+)/delete/$", login_required(views.delete_xform)),
    url(r"^xforms/(\d+)/add_field/$", login_required(views.add_field)),
    url(r"^xforms/(\d+)/edit_field/(\d+)/$", login_required(views.edit_field)),
    url(r"^xforms/(\d+)/field/(\d+)/$", login_required(views.view_field)),
    url(r"^xforms/(\d+)/field/(\d+)/constraint/(\d+)/$", login_required(views.edit_constraint)),
    url(r"^xforms/(\d+)/field/(\d+)/constraint/$", login_required(views.add_constraint)),
    url(r"^xforms/(\d+)/delete_field/(\d+)/$", login_required(views.delete_field)),
	url(r"^static/xforms/(?P<path>.*)$", 'django.views.static.serve', {'document_root' : 'apps/xforms/static'}),
)<commit_msg>fix path for static files for xforms<commit_after>from django.conf.urls.defaults import *
from django.contrib.auth.decorators import login_required
from . import views

urlpatterns = patterns('',
    url(r"^xforms/$", login_required(views.xforms), name="xforms"),
    url(r"^xforms/new/$", login_required(views.new_xform)),
    url(r"^xforms/(\d+)/submissions/$", login_required(views.view_submissions)),
    url(r"^xforms/submissions/(\d+)/edit/$", login_required(views.edit_submission)),
    url(r"^xforms/(\d+)/edit/$", login_required(views.edit_xform)),
    url(r"^xforms/(\d+)/order/$", login_required(views.order_xform)),
    url(r"^xforms/(\d+)/delete/$", login_required(views.delete_xform)),
    url(r"^xforms/(\d+)/add_field/$", login_required(views.add_field)),
    url(r"^xforms/(\d+)/edit_field/(\d+)/$", login_required(views.edit_field)),
    url(r"^xforms/(\d+)/field/(\d+)/$", login_required(views.view_field)),
    url(r"^xforms/(\d+)/field/(\d+)/constraint/(\d+)/$", login_required(views.edit_constraint)),
    url(r"^xforms/(\d+)/field/(\d+)/constraint/$", login_required(views.add_constraint)),
    url(r"^xforms/(\d+)/delete_field/(\d+)/$", login_required(views.delete_field)),
	url(r"^static/xforms/(?P<path>.*)$", 'django.views.static.serve', {'document_root' : 'xforms/static'}),
)
{'fraction_non_alphanumeric': 0.23822393822393823, 'fraction_numerical': 0.0, 'mean_word_length': 5.677835051546392, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4176208', 'n_tokens_mistral': 982, 'n_tokens_neox': 974, 'n_words': 92}