{ "info": { "author": "hisie", "author_email": "dcebrian@serincas.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "Django Simple News\n\n============================\n\nInstalling:\n\npip install django_simple_news\n\nIn settings:\n\nINSTALLED_APPS = (\n\t...\n 'ckeditor',\n 'new',\n ...\n)\n\nin urls.py\n url(r'^seo_name_for_news/', include('new.urls')),\n\nConfigure CKeditor\n\nhttps://github.com/shaunsephton/django-ckeditor#installation\n\nsettings.py\n\n# ckeditor config\nCKEDITOR_UPLOAD_PATH = MEDIA_ROOT + '/editor'\nCKEDITOR_CONFIGS = {\n 'default': {\n 'toolbar': [\n [ 'Source','-','Save','-', 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo', '-', 'Find','Replace','-','SelectAll'], \n [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] ,'/',\n [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ], \n [ 'Link','Unlink' ],\n [ 'Image','Table','HorizontalRule','SpecialChar' ],\n [ 'Format'],\n [ 'TextColor','BGColor', '-', 'Styles','Format','FontSize' ],\n [ 'Maximize', 'ShowBlocks','-','About' ],\n ],\n 'format_tags': 'p;h1;h2;h3;h4;h5;h6;pre;address;div',\n },\n}\n\nConfigure easy-thumbnails for each template\n\n# easy-thumbnails config\n\nhttps://pypi.python.org/pypi/easy-thumbnails/1.2\n\nTHUMBNAIL_ALIASES = {\n '': {\n 'new_detail': {'size': (50, 50), 'crop': True},\n 'new_list': {'size': (152, 152), 'crop': True},\n 'new_index': {'size': (960, 1760), 'crop': False, 'upscale': True},\n },\n}\n\nYou also can overwrite templates:\n\n/templates/new/new_detail.html for new detail\n/templates/new/news_index.html for a list of news\n/templates/new/news_list.html to get a list of news without a context to get include in custom templates.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hisie/django_simple_news", "keywords": null, "license": "Apache License, Version 2.0", "maintainer": null, "maintainer_email": null, "name": "django-zms-news", "package_url": "https://pypi.org/project/django-zms-news/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-zms-news/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/hisie/django_simple_news" }, "release_url": "https://pypi.org/project/django-zms-news/0.1/", "requires_dist": null, "requires_python": null, "summary": "Django news with CKEditor integrated.", "version": "0.1" }, "last_serial": 791066, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a36bfe7ec8b8989bab3be90ce5d34123", "sha256": "90c9f70222e25a922bb24691d5e3db42a347b916ffcc6fbe782584043d985db4" }, "downloads": -1, "filename": "django-zms-news-0.1.tar.gz", "has_sig": false, "md5_digest": "a36bfe7ec8b8989bab3be90ce5d34123", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4745, "upload_time": "2013-05-05T23:59:04", "url": "https://files.pythonhosted.org/packages/13/ed/365fb2d84383689a0e4b5c8d530181fcd80723d00ad08ad677065e416a4a/django-zms-news-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a36bfe7ec8b8989bab3be90ce5d34123", "sha256": "90c9f70222e25a922bb24691d5e3db42a347b916ffcc6fbe782584043d985db4" }, "downloads": -1, "filename": "django-zms-news-0.1.tar.gz", "has_sig": false, "md5_digest": "a36bfe7ec8b8989bab3be90ce5d34123", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4745, "upload_time": "2013-05-05T23:59:04", "url": "https://files.pythonhosted.org/packages/13/ed/365fb2d84383689a0e4b5c8d530181fcd80723d00ad08ad677065e416a4a/django-zms-news-0.1.tar.gz" } ] }