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

from modular_blocks import ModuleApp, TemplateTagBlock, modules

from . import urls


class ShoutboxModule(ModuleApp):
    app_name = 'bulletin_board'
    name = 'bulletin-board'
    urls = url(r'^shoutbox/', include(urls))
    templatetag_blocks = [
        TemplateTagBlock(
            name='bulletin-board',
            library='shoutbox',
            tag='display_bulletin_board',
            cache_time=30 * 60,
            kwargs={
                'nb': 10,
            },
        ),
    ]


modules.register(ShoutboxModule)<commit_msg>decrease the cache time for the block<commit_after>from django.conf.urls import url, include

from modular_blocks import ModuleApp, TemplateTagBlock, modules

from . import urls


class ShoutboxModule(ModuleApp):
    app_name = 'bulletin_board'
    name = 'bulletin-board'
    urls = url(r'^shoutbox/', include(urls))
    templatetag_blocks = [
        TemplateTagBlock(
            name='bulletin-board',
            library='shoutbox',
            tag='display_bulletin_board',
            cache_time=1,
            kwargs={
                'nb': 10,
            },
        ),
    ]


modules.register(ShoutboxModule)
{'fraction_non_alphanumeric': 0.10081967213114754, 'fraction_numerical': 0.007377049180327869, 'mean_word_length': 2.345205479452055, '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': '5158460', 'n_tokens_mistral': 376, 'n_tokens_neox': 362, 'n_words': 72}