{ "info": { "author": "Alisson R. Perez", "author_email": "alisson.perez@knowledge4.life", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Office/Business :: Financial :: Spreadsheet" ], "description": ".. image:: https://travis-ci.org/knowledge4life/django-onmydesk.svg?branch=develop\n\t :target: https://travis-ci.org/knowledge4life/django-onmydesk\n.. image:: https://readthedocs.org/projects/django-onmydesk/badge/?version=latest\n\t :target: http://django-onmydesk.readthedocs.io/en/latest/?badge=latest\n\t :alt: Documentation Status\n.. image:: https://badge.fury.io/py/django-onmydesk.svg\n\t :target: https://badge.fury.io/py/django-onmydesk\n.. image:: https://img.shields.io/github/issues/knowledge4life/django-onmydesk.svg\n\t :target: https://github.com/knowledge4life/django-onmydesk/issues\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg\n\t :target: https://raw.githubusercontent.com/knowledge4life/django-onmydesk/develop/LICENSE\n.. image:: https://coveralls.io/repos/github/knowledge4life/django-onmydesk/badge.svg?branch=develop\n\t :target: https://coveralls.io/github/knowledge4life/django-onmydesk?branch=develop\n\n\n\nDjango - OnMyDesk\n===================\n\nA Django app to build reports in a simple way.\n\nInstallation\n------------\n\nWith pip::\n\n pip install django-onmydesk\n\nAdd 'onmydesk' to your INSTALLED_APPS::\n\n INSTALLED_APPS = [\n # ...\n 'onmydesk',\n ]\n\nRun `./manage.py migrate` to create **OnMyDesk** models.\n\nQuickstart\n-----------\n\nTo create reports we need to follow just two steps:\n\n 1. Create a report class in our django app.\n 2. Add this report class to a config in you project settings to enable **OnMyDesk** to see your reports.\n\nSo, let's do it!\n\nCreate a module called *reports.py* in you django app with the following content:\n\nmyapp/reports.py::\n\n from onmydesk.core import reports\n\n class UsersReport(reports.SQLReport):\n name = 'Users report'\n\tquery = 'SELECT * FROM auth_user'\n\nOn your project settings, add the following config::\n\n ONMYDESK_REPORT_LIST = [\n\t'myapp.reports.UsersReport',\n ]\n\nEach new report must be added to this list. Otherwise, it won't be shown on admin screen.\n\nNow, access your **OnMyDesk** admin screen and you'll see your **Users report** available on report creation screen.\n\nAfter you create a report, it'll be status settled up as 'Pending', to process it you must run `process` command. E.g::\n\n $ ./manage.py process\n Found 1 reports to process\n Processing report #29 - 1 of 1\n Report #29 processed\n\nCollaboration\n-------------\n\nThere are many ways of improving and adding more features, so feel free to collaborate with ideas, issues and/or pull requests.\n\nLet us know!\n-------------\n\nWe\u2019d be really happy if you sent us links to your projects where you use our component. Just create an issue and let us know if you have any questions or suggestion regarding the library", "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/knowledge4life/django-onmydesk/", "keywords": "report,reporting,django", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-onmydesk", "package_url": "https://pypi.org/project/django-onmydesk/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-onmydesk/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/knowledge4life/django-onmydesk/" }, "release_url": "https://pypi.org/project/django-onmydesk/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "A simple Django app to build reports.", "version": "0.1.0" }, "last_serial": 2161169, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a25b3de5925765b0f4bcbf74aa9e7c4d", "sha256": "51df815e0504b49754216808c792c44d5db055de3b628e0cf9fb413c8ac7a44f" }, "downloads": -1, "filename": "django-onmydesk-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a25b3de5925765b0f4bcbf74aa9e7c4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22816, "upload_time": "2016-06-08T19:42:08", "url": "https://files.pythonhosted.org/packages/c8/13/a9c63d6f02ac329cf7aee94cf88fcad7c1e86fcf472efd77de8d90eb6be8/django-onmydesk-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a25b3de5925765b0f4bcbf74aa9e7c4d", "sha256": "51df815e0504b49754216808c792c44d5db055de3b628e0cf9fb413c8ac7a44f" }, "downloads": -1, "filename": "django-onmydesk-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a25b3de5925765b0f4bcbf74aa9e7c4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22816, "upload_time": "2016-06-08T19:42:08", "url": "https://files.pythonhosted.org/packages/c8/13/a9c63d6f02ac329cf7aee94cf88fcad7c1e86fcf472efd77de8d90eb6be8/django-onmydesk-0.1.0.tar.gz" } ] }