
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
djangocms-lab-carousel
Advanced tools
A Django app for adding a carousel of recent papers, etc. to a Django site with django CMS-specific features
djangocms-lab-carousel
djangocms-lab-carousel
is a Django app for adding a carousel of recent papers, etc. to a Django site with django CMS-specific features. It uses djangocms-lab-publications
manage publications.
Source code is available on GitHub at mfcovington/djangocms-lab-carousel <https://github.com/mfcovington/djangocms-lab-carousel>
. Information about and source code for djangocms-lab-carousel
is available on GitHub at mfcovington/djangocms-lab-publications <https://github.com/mfcovington/djangocms-lab-publications>
.
.. contents:: :local:
PyPI
.. code-block:: sh
pip install djangocms-lab-carousel
GitHub (development branch)
.. code-block:: sh
pip install git+http://github.com/mfcovington/djangocms-lab-carousel.git@develop
Install django CMS and start a project <http://docs.django-cms.org/en/latest/introduction/install.html>
_, if one doesn't already exist.
Unless you use this app as part of djangocms-lab-site <https://github.com/mfcovington/djangocms-lab-site>
_ or plan to style the app from scratch, you will want to choose the Use Twitter Bootstrap Theme
option (when running djangocms
) and then edit the resulting templates/base.html
. This will add style that looks like Bootstrap 2. To use Bootstrap 3 styling, remove the following line for the bootstrap-theme.min.css
stylesheet from templates/base.html
:
.. code-block:: python
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.x.x/css/bootstrap-theme.min.css">
Do the following in settings.py
:
Add cms_lab_carousel
and its dependencies to INSTALLED_APPS
:
.. code-block:: python
INSTALLED_APPS = (
# ...
'cms_lab_carousel',
'cms_lab_publications',
'easy_thumbnails',
'filer',
'mptt',
'taggit',
)
Add easy_thumbnail
settings:
.. code-block:: 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'
Create and perform migrations cms_lab_carousel
and its dependencies:
.. code-block:: sh
python manage.py makemigrations cms_lab_carousel
python manage.py makemigrations cms_lab_publications
python manage.py migrate
.. code-block:: sh
python manage.py runserver
http://127.0.0.1:8000/
Carousel Plugin
into a placeholder field.Version 0.2.1
0.2.1 2015-12-07
0.2.0 2015-08-27
djangocms-lab-publication
)0.1.4 2015-05-08
0.1.3 2015-04-21
0.1.2 2015-04-19
0.1.1 2015-04-17
setup.py
0.1.0 2015-04-17
FAQs
A Django app for adding a carousel of recent papers, etc. to a Django site with django CMS-specific features
We found that djangocms-lab-carousel demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.