{ "info": { "author": "Fl\u00e1vio Caetano", "author_email": "flavio@vieiracaetano.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "License :: OSI Approved :: GNU General Public License (GPL)", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "pelican_admin\n=============\n*pelican_admin* was developed to assist you manage your `Pelican `_ blog.\n\nThis is a beta release and will have upcoming new features.\n\n.. contents::\n\nUsage\n-----\n\nInsert **pelican_admin** to the end of your INSTALLED_APPS in settings.py::\n\n INSTALLED_APPS = (\n ...\n 'pelican_admin',\n ...\n )\n\t\nNow, you must tell *pelican_admin* what's the path to you pelican blog. In your settings.py you must add::\n\n\tPELICAN_PATH = '/path/to/your/blog'\n\tPELICAN_SETTINGS = 'your_pelican_settings.py # The default value is 'pelicanconf.py'\n\tPELICAN_BIN = 'pelican' # Path to pelican executable. Default value is '/usr/local/bin/pelican'\n \nDon't forget to sync your db with::\n\n\tpython manage.py syncdb\n\t\nOr, if you're using `south `_::\n\n\tpython manage.py migrate pelican_admin\n\n*pelican_admin* is already set to run `Pelican `_'s service for you. It'll be running in the autoreload mode in the background.\n\t\nIf you're using `django-admin-tools `_ there's a module available where you can manage your pelican service via admin interface. Add *pelican_admin* to your urls.py::\n\n\timport pelican_admin\n\t\n\turl_patterns = patterns('',\t\n \turl(r'^admin/', include(admin.site.urls)),\n\t url(r'^admin_tools/', include('admin_tools.urls')),\n\t \t...\n\t)\n\t\n\turlpatterns += pelican_admin.pelican_urls()\n\t\nAnd finally, add *pelican_admin*'s module to your dashboard.py::\n\n\tfrom pelican_admin.modules import PelicanAdmin\n\t\n\tclass CustomIndexDashboard(Dashboard):\n\n \tdef init_with_context(self, context):\n\t\t\t...\n\t self.children.append(PelicanAdmin())\n\t \nThis module is super useful not only to check `Pelican `_'s service status, but also to reload it if any change you made doesn't load.\n\nIf you experience any troubles in this step and your `django-admin-tools `_ interface is scrambled, you may have too many modules in your dashboard. I never found out why, but my experience with `django-admin-tools `_ never allowed lots of modules, so just try removing some things you don't use.\n\t \nThe Looks\n---------\nThis is how *pelican_admin*'s module for `django-admin-tools `_ looks like when enabled:\n\n.. image:: https://raw.github.com/fjcaetano/pelican_admin/master/ss1.png\n\n.. image:: https://raw.github.com/fjcaetano/pelican_admin/master/ss2.png\n\n.. image:: https://raw.github.com/fjcaetano/pelican_admin/master/ss3.png\n\n\nNew Features\n------------\n- **Metadata management**: Now you can manage your posts' metadatas via interface since, now, they're attributes of your posts.\n- **Category model**: Though `category` is just another post metadata, it was made to be an model to ease filtering, insertion, etc.\n- **View Draft button**: In the blog post edit page there's a new button called `View Draft` to help you visualise the post you're writing in your blog. It simply set the `status` metadata as *draft* in that post.\n- **Better post management**: Blog posts had a very bad management earlier. Now the model list page has filters, more fields being displayed, search, date hierarchy, etc.\n\nBugfixes\n--------\n- **Encoding issues**: Some people were experiencing encoding issues when *pelican_admin* attempted to write special characters. Some of it were solved, but if you find any mode problems, please, let me know.\n- **Slow build**: Due to poor programming, *pelican_admin* was taking a very long time to run it's \\__init__.py\n\nKnown Issues\n------------\n*pelican_admin* is running `Pelican `_'s service in background as a subprocess, but I wasn't able to kill it when python dies. Currently there's a method registered in `atexit` therefore, if python dies normally, the background service is killed with no trouble, but if python crashes, the method registered isn't called and `Pelican `_'s service may still be running in background.\n\nOther than that, when you're running Django in \"development mode\" (`manage.py runserver`), every time you update a `Setting` in *pelican_admin*, Django is reloading. I'm still to find out why.\n\nIf `pelican `_ raises an Exception from within it's Generators, *pelican_admin* thinks it's still running since the subprocess doesn't die, even though it's running in the background. When an Exception like that occurs, `pelican `_'s process simply halts.\n\nOld Features\n------------\n- **Settings management**: change your pelican settings through Django admin and have it automatically working.\n- **Posting management**: CRUD for blog postings via interface.\n- **Service management**: Manage your pelican service through the admin interface\n- **Internationalization**: *pelican_admin* is localizable. Currently only pt_BR and en_US are officially supported.\n\nRequirements\n------------\n* `Django 1.4+ `_\n* `psutil 0.6.1+ `_\n* `pelican 3.0+ `_\n\nInstallation\n------------\nI'll just assume you're already familiarised with pelican and move on.\n\nInstall using pip:\n\n pip install pelican_admin\n \nOr you can clone the project and install it via:\n\n python setup.py install\n \nMigration From Older Versions\n-----------------------------\nWhen you migrate, whether installing from pip or cloning the repository, do not forget to sync the app. You can either do it through Django or using south, though south is better because you won't lose any data.\n\nCheck This Out\n--------------\n1. `GitHub Repository `_\n2. `PyPi package `_\n3. `Owner's website `_\n4. `Owner's Blog `_\n\n\nContact\n=======\nIf you have any comments, ideas questions, feedback, etcetera, email me and we'll be in touch. I'm `flavio@vieiracaetano.com `_", "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/fjcaetano/pelican_admin", "keywords": null, "license": "GPL - see LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "pelican_admin", "package_url": "https://pypi.org/project/pelican_admin/", "platform": "any", "project_url": "https://pypi.org/project/pelican_admin/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/fjcaetano/pelican_admin" }, "release_url": "https://pypi.org/project/pelican_admin/0.3/", "requires_dist": null, "requires_python": null, "summary": "Django admin app for Pelican blogs.", "version": "0.3" }, "last_serial": 758888, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b4045e00a7bdd20621f78054404acf9d", "sha256": "97f99ed9df9065f992e413563f9f295073fd4e0cee2db1000652f102f4f795d6" }, "downloads": -1, "filename": "pelican_admin-0.1.tar.gz", "has_sig": false, "md5_digest": "b4045e00a7bdd20621f78054404acf9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6539, "upload_time": "2012-11-26T02:24:32", "url": "https://files.pythonhosted.org/packages/6d/b3/60fe50faf79ff20b75fccc37b1721ed6ebf1f6f7aa7fa7b9b9e97f7aea7c/pelican_admin-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "e43388cb33e6bfa313536247402c3415", "sha256": "e58d57c305978d9a1ccbc6c4259631ecd0483e5cf07bd72a3ffc93004688965a" }, "downloads": -1, "filename": "pelican_admin-0.2.tar.gz", "has_sig": false, "md5_digest": "e43388cb33e6bfa313536247402c3415", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 58341, "upload_time": "2012-11-29T18:03:06", "url": "https://files.pythonhosted.org/packages/8b/20/ffcc78c2a38d93c1446d03e279e69a28a11fb88b7cba503464ab316a0c6e/pelican_admin-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "9f133eefa2f39fe5c2727f5e817db6c0", "sha256": "09381f15359e20fc558713dd4a55f4429a8ae535e874fd8d2ee06b14fce493c9" }, "downloads": -1, "filename": "pelican_admin-0.3.tar.gz", "has_sig": false, "md5_digest": "9f133eefa2f39fe5c2727f5e817db6c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63102, "upload_time": "2012-12-12T21:24:07", "url": "https://files.pythonhosted.org/packages/4d/73/b1ee92b52639d2b7120d397ef6213ba4baa01bead27f731893d9091eacb2/pelican_admin-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9f133eefa2f39fe5c2727f5e817db6c0", "sha256": "09381f15359e20fc558713dd4a55f4429a8ae535e874fd8d2ee06b14fce493c9" }, "downloads": -1, "filename": "pelican_admin-0.3.tar.gz", "has_sig": false, "md5_digest": "9f133eefa2f39fe5c2727f5e817db6c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63102, "upload_time": "2012-12-12T21:24:07", "url": "https://files.pythonhosted.org/packages/4d/73/b1ee92b52639d2b7120d397ef6213ba4baa01bead27f731893d9091eacb2/pelican_admin-0.3.tar.gz" } ] }