<commit_before>"""
Created on 26.02.2014

@author: jpi
"""

from django.conf.urls import patterns, url, include
from django.conf import settings
from stadtgedaechtnis_frontend.views import *
from stadtgedaechtnis_frontend.forms import NewStoryAudioForm, NewStoryImageForm, NewStoryVideoForm

urlpatterns = patterns(
   '',
   url(r'^$', ExtraContextTemplateView.as_view(
       template_name='stadtgedaechtnis/index.html',
       extra_context={
           "GOOGLE_API_KEY": settings.GOOGLE_API_KEY
       })),
   url(r'^i18n/', include('django.conf.urls.i18n')),
   url(r'^entry/(?P<pk>\d+)/$', EntryView.as_view(), name="entry-view"),
   url(r'^jsurls.js$', 'django_js_utils.views.jsurls', {}, 'jsurls'),
   url(r'^jsi18n/(?P<packages>\S+?)/$', 'django.views.i18n.javascript_catalog'),
   url(r'^forms/location/$', TemplateView.as_view(
       template_name='stadtgedaechtnis/new_entry_location.html'
   ), name="new-story-location"),
   url(r'^forms/image/$', NewStoryMediaFormView.as_view(
           form_class=NewStoryImageForm), name="new-story-image"),
   url(r'^forms/audio/$', NewStoryMediaFormView.as_view(
           form_class=NewStoryAudioForm), name="new-story-audio"),
   url(r'^forms/video/$', NewStoryMediaFormView.as_view(
           form_class=NewStoryVideoForm), name="new-story-video"),
   )<commit_msg>JavaScript language catalogue static import<commit_after>"""
Created on 26.02.2014

@author: jpi
"""

from django.conf.urls import patterns, url, include
from django.conf import settings
from stadtgedaechtnis_frontend.views import *
from stadtgedaechtnis_frontend.forms import NewStoryAudioForm, NewStoryImageForm, NewStoryVideoForm

js_info_dict = {
    'packages': ('stadtgedaechtnis_frontend',),
}

urlpatterns = patterns(
   '',
   url(r'^$', ExtraContextTemplateView.as_view(
       template_name='stadtgedaechtnis/index.html',
       extra_context={
           "GOOGLE_API_KEY": settings.GOOGLE_API_KEY
       })),
   url(r'^i18n/', include('django.conf.urls.i18n')),
   url(r'^entry/(?P<pk>\d+)/$', EntryView.as_view(), name="entry-view"),
   url(r'^jsurls.js$', 'django_js_utils.views.jsurls', {}, 'jsurls'),
   url(r'^jsi18n/$', 'django.views.i18n.javascript_catalog', js_info_dict),
   url(r'^forms/location/$', TemplateView.as_view(
       template_name='stadtgedaechtnis/new_entry_location.html'
   ), name="new-story-location"),
   url(r'^forms/image/$', NewStoryMediaFormView.as_view(
           form_class=NewStoryImageForm), name="new-story-image"),
   url(r'^forms/audio/$', NewStoryMediaFormView.as_view(
           form_class=NewStoryAudioForm), name="new-story-audio"),
   url(r'^forms/video/$', NewStoryMediaFormView.as_view(
           form_class=NewStoryVideoForm), name="new-story-video"),
   )
{'fraction_non_alphanumeric': 0.16113744075829384, 'fraction_numerical': 0.011666059059423988, 'mean_word_length': 4.825902335456475, 'pattern_counts': {'":': 2, '<': 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': '1124784', 'n_tokens_mistral': 996, 'n_tokens_neox': 948, 'n_words': 126}