<commit_before>from django.conf.urls import patterns, url

from django.contrib.auth.decorators import login_required

from .views import NoteListView, NoteCreateView


urlpatterns = patterns('',
    url(
        r'^board(/(?P<page>\d+))?$',
        NoteListView.as_view(),
        name="bulletin-board",
    ),
    url(
        r'board/add$',
        login_required(NoteCreateView.as_view()),
        name="bulletin-add",
    ),

)
<commit_msg>Fix : urls pagination for bulletin-board archives<commit_after>from django.conf.urls import patterns, url

from django.contrib.auth.decorators import login_required

from .views import NoteListView, NoteCreateView


urlpatterns = patterns('',
    url(
        r'^board$',
        NoteListView.as_view(),
        name="bulletin-board",
    ),
    url(
        r'^board/(?P<page>\d+)$',
        NoteListView.as_view(),
        name="bulletin-board",
    ),
    url(
        r'board/add$',
        login_required(NoteCreateView.as_view()),
        name="bulletin-add",
    ),

)

{'fraction_non_alphanumeric': 0.1411764705882353, 'fraction_numerical': 0.0, 'mean_word_length': 2.8239700374531833, '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': '4402394', 'n_tokens_mistral': 332, 'n_tokens_neox': 319, 'n_words': 57}