This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
Django Simple News

============================

Installing:

pip install django_simple_news

In settings:

INSTALLED_APPS = (
...
'ckeditor',
'new',
...
)

in urls.py
url(r'^seo_name_for_news/', include('new.urls')),

Configure CKeditor

https://github.com/shaunsephton/django-ckeditor#installation

settings.py

# ckeditor config
CKEDITOR_UPLOAD_PATH = MEDIA_ROOT + '/editor'
CKEDITOR_CONFIGS = {
'default': {
'toolbar': [
[ 'Source','-','Save','-', 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo', '-', 'Find','Replace','-','SelectAll'],
[ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] ,'/',
[ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ],
[ 'Link','Unlink' ],
[ 'Image','Table','HorizontalRule','SpecialChar' ],
[ 'Format'],
[ 'TextColor','BGColor', '-', 'Styles','Format','FontSize' ],
[ 'Maximize', 'ShowBlocks','-','About' ],
],
'format_tags': 'p;h1;h2;h3;h4;h5;h6;pre;address;div',
},
}

Configure easy-thumbnails for each template

# easy-thumbnails config

https://pypi.python.org/pypi/easy-thumbnails/1.2

THUMBNAIL_ALIASES = {
'': {
'new_detail': {'size': (50, 50), 'crop': True},
'new_list': {'size': (152, 152), 'crop': True},
'new_index': {'size': (960, 1760), 'crop': False, 'upscale': True},
},
}

You also can overwrite templates:

/templates/new/new_detail.html for new detail
/templates/new/news_index.html for a list of news
/templates/new/news_list.html to get a list of news without a context to get include in custom templates.
Release History

Release History

0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-zms-news-0.1.tar.gz (4.7 kB) Copy SHA256 Checksum SHA256 Source May 5, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting