<commit_before># CMS Lab Carousel

CMS Lab Carousel is A Django app for adding carousel of recent papers, etc. to a Django site with django CMS-specific features.

<!-- Detailed documentation is in the "docs" directory. -->

## Quick start

- Edit the project's `settings.py` file.

    - Add `cms_lab_carousel` and its dependencies to your `INSTALLED_APPS` setting:

        ```python
        INSTALLED_APPS = (
            ...
            'cms_lab_carousel',
            'cms_lab_publications',
            'easy_thumbnails',
            'filer',
            'mptt',
            'taggit',
        )
        ```

    - Specify your media settings, if not already specified:

        ```python
        MEDIA_URL = '/media/'
        MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
        ```

    - Add `filer` and `easy_thumbnail` settings: 

        ```python
        # For easy_thumbnails to support retina displays (recent MacBooks, iOS)
        THUMBNAIL_HIGH_RESOLUTION = True
        THUMBNAIL_QUALITY = 95
        THUMBNAIL_PROCESSORS = (
            'easy_thumbnails.processors.colorspace',
            'easy_thumbnails.processors.autocrop',
            'filer.thumbnail_processors.scale_and_crop_with_subject_location',
            'easy_thumbnails.processors.filters',
        )
        THUMBNAIL_PRESERVE_EXTENSIONS = ('png', 'gif')
        THUMBNAIL_SUBDIR = 'versions'
        ```

- Include URL configurations for `cms_lab_carousel` in your project's `urls.py` file:

    ```python
    urlpatterns = patterns('',
        ...
        url(r'^carousel/', include('cms_lab_carousel.urls', namespace='carousel')),
        ...
    )
    ```

- Run `python manage.py makemigrations cms_lab_carousel` to create the cms_lab_carousel migrations.

- Run `python manage.py migrate` to create the cms_lab_carousel models.

- Start the development server (`python manage.py runserver`) and visit http://127.0.0.1:8000/<commit_msg>Remove reference to django-filer in README<commit_after># CMS Lab Carousel

CMS Lab Carousel is A Django app for adding carousel of recent papers, etc. to a Django site with django CMS-specific features.

<!-- Detailed documentation is in the "docs" directory. -->

## Quick start

- Edit the project's `settings.py` file.

    - Add `cms_lab_carousel` and its dependencies to your `INSTALLED_APPS` setting:

        ```python
        INSTALLED_APPS = (
            ...
            'cms_lab_carousel',
            'cms_lab_publications',
            'easy_thumbnails',
            'filer',
            'mptt',
            'taggit',
        )
        ```

    - Specify your media settings, if not already specified:

        ```python
        MEDIA_URL = '/media/'
        MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
        ```

    - Add `easy_thumbnail` settings: 

        ```python
        # For easy_thumbnails to support retina displays (recent MacBooks, iOS)
        THUMBNAIL_HIGH_RESOLUTION = True
        THUMBNAIL_QUALITY = 95
        THUMBNAIL_PROCESSORS = (
            'easy_thumbnails.processors.colorspace',
            'easy_thumbnails.processors.autocrop',
            'filer.thumbnail_processors.scale_and_crop_with_subject_location',
            'easy_thumbnails.processors.filters',
        )
        THUMBNAIL_PRESERVE_EXTENSIONS = ('png', 'gif')
        THUMBNAIL_SUBDIR = 'versions'
        ```

- Include URL configurations for `cms_lab_carousel` in your project's `urls.py` file:

    ```python
    urlpatterns = patterns('',
        ...
        url(r'^carousel/', include('cms_lab_carousel.urls', namespace='carousel')),
        ...
    )
    ```

- Run `python manage.py makemigrations cms_lab_carousel` to create the cms_lab_carousel migrations.

- Run `python manage.py migrate` to create the cms_lab_carousel models.

- Start the development server (`python manage.py runserver`) and visit http://127.0.0.1:8000/
{'fraction_non_alphanumeric': 0.104570100697134, 'fraction_numerical': 0.006196746707978312, 'mean_word_length': 2.407211961301671, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4273663', 'n_tokens_mistral': 1251, 'n_tokens_neox': 1170, 'n_words': 292}