{ "info": { "author": "Alireza Savand", "author_email": "alireza.savand@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Software Development" ], "description": "=================\nDjango Databrowse\n=================\n\n.. image:: https://travis-ci.org/Alir3z4/django-databrowse.png\n :alt: travis-cli tests status for django-databrowse\n :target: https://travis-ci.org/Alir3z4/django-databrowse\n\n.. contents:: Table of contents\n\n.. note::\n\n Extracted from `Django 1.4 since databrowse deprecation `_\n\n------\n\nDatabrowse is a Django application that lets you browse your data.\n\nAs the Django admin dynamically creates an admin interface by introspecting\nyour models, Databrowse dynamically creates a rich, browsable Web site by\nintrospecting your models.\n\nInstallation\n------------\n``django-databrowse`` is available on pypi\n\nhttp://pypi.python.org/pypi/django-databrowse\n\nSo easily install it by ``pip``\n::\n \n $ pip install django-databrowse\n\nOr by ``easy_install``\n::\n \n $ easy_install django-databrowse\n\nAnother way is by cloning ``django-databrowse``'s `git repo `_ ::\n \n $ git clone git://github.com/Alir3z4/django-databrowse.git\n\nThen install it by running:\n::\n \n $ python setup.py install\n\n\nHow to use Databrowse\n---------------------\n\n1. Point Django at the default Databrowse templates. There are two ways to\n do this:\n\n * Add ``'django_databrowse'`` to your `INSTALLED_APPS`\n setting. This will work if your `TEMPLATE_LOADERS` setting\n includes the ``app_directories`` template loader (which is the case by\n default). See the `template loader docs `_ for more.\n\n * Otherwise, determine the full filesystem path to the\n `django_databrowse/templates` directory, and add that\n directory to your `TEMPLATE_DIRS `_ setting.\n\n2. Register a number of models with the Databrowse site::\n\n import django_databrowse\n from myapp.models import SomeModel, SomeOtherModel, YetAnotherModel\n\n django_databrowse.site.register(SomeModel)\n django_databrowse.site.register(SomeOtherModel, YetAnotherModel)\n\n Note that you should register the model *classes*, not instances.\n\n it is possible to register several models in the same\n call to `django_databrowse.site.register`.\n\n It doesn't matter where you put this, as long as it gets executed at some\n point. A good place for it is in your `URLconf file `_ (``urls.py``).\n\n3. Change your URLconf to import the `~django_databrowse` module::\n\n from django_databrowse\n\n ...and add the following line to your URLconf::\n\n (r'^django_databrowse/(.*)', django_databrowse.site.root),\n\n The prefix doesn't matter -- you can use ``databrowse/`` or ``db/`` or\n whatever you'd like.\n\n4. Run the Django server and visit ``/databrowse/`` in your browser.\n\nRequiring user login\n---------------------\n\nYou can restrict access to logged-in users with only a few extra lines of\ncode. Simply add the following import to your URLconf::\n\n from django.contrib.auth.decorators import login_required\n\nThen modify the `URLconf `_ so that the\n`django_databrowse.site.root` view is decorated with\n`django.contrib.auth.decorators.login_required`::\n\n (r'^databrowse/(.*)', login_required(django_databrowse.site.root)),\n\nIf you haven't already added support for user logins to your `URLconf\n`_, as described in the `user authentication docs\n`_, then you will need to do so now with the following\nmapping::\n\n (r'^accounts/login/$', 'django.contrib.auth.views.login'),\n\nThe final step is to create the login form required by\n`django.contrib.auth.views.login`. The\n`user authentication docs `_ provide full details and a\nsample template that can be used for this purpose.\n\n\nTests\n-------------\n\n``django-databrowse`` has been tested Django 1.6 and later. To run the the tests:\n\n::\n \n $ python run_tests.py\n\nIt's also available on travis-ci:\n\nhttps://travis-ci.org/Alir3z4/django-databrowse/\n\n\nTranslations\n------------\n\nCurrently ``English`` is only available language that is being packaged. If you would like to contribute\nin localization you can find ``django-databrowse`` project on Transifex as well:\nhttps://www.transifex.com/projects/p/django-databrowse/\n\n**Translation Status on Transifex**\n\n.. image:: https://www.transifex.com/projects/p/django-databrowse/resource/django_databrowse/chart/image_png\n :alt: django-databrowse translation status on transifex\n :target: https://www.transifex.com/projects/p/django-databrowse/\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Alir3z4/django-databrowse", "keywords": "django", "license": "Copyright (c) 2005-2013 Django [Contributors|Foundation], Alireza Savand\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n * Neither the name of the authors nor the\n names of its contributors may be used to endorse or promote products\n derived from this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", "maintainer": "", "maintainer_email": "", "name": "django-databrowse", "package_url": "https://pypi.org/project/django-databrowse/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-databrowse/", "project_urls": { "Homepage": "https://github.com/Alir3z4/django-databrowse" }, "release_url": "https://pypi.org/project/django-databrowse/2016.3.16/", "requires_dist": null, "requires_python": "", "summary": "Databrowse is a Django application that lets you browse your data.", "version": "2016.3.16" }, "last_serial": 2709478, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "1d1483047c4c12cd60c8276202603a0d", "sha256": "afc021a873165897c3e4c77da00d4a14ded93fc16426ea0167e85573b0260d8b" }, "downloads": -1, "filename": "django-databrowse-1.0.tar.gz", "has_sig": false, "md5_digest": "1d1483047c4c12cd60c8276202603a0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13244, "upload_time": "2013-01-08T20:51:40", "url": "https://files.pythonhosted.org/packages/28/35/c657a195ebaf5dcefb6cc74f678880b02627152b91b92a8c3a615e98c833/django-databrowse-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "60af1b37f13aaa4b779b2e2a535feb05", "sha256": "e18c753862fe2a5155efa25b940e747e63f0a2820a9dd32984e23f8ea9d1cfb6" }, "downloads": -1, "filename": "django-databrowse-1.1.tar.gz", "has_sig": false, "md5_digest": "60af1b37f13aaa4b779b2e2a535feb05", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15835, "upload_time": "2013-02-21T18:46:21", "url": "https://files.pythonhosted.org/packages/7c/7b/bf601c61e127878acec5d8a95eef7cc0019761d246bb7c553a4126de136b/django-databrowse-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "cccad92206548f4173ffdb0cb66e4e2c", "sha256": "b9f5904db22b18eead2bd465065bb7ab78fa168fa1954ee1c8b577b1f409e390" }, "downloads": -1, "filename": "django-databrowse-1.2.tar.gz", "has_sig": false, "md5_digest": "cccad92206548f4173ffdb0cb66e4e2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16729, "upload_time": "2013-06-10T07:07:24", "url": "https://files.pythonhosted.org/packages/c6/ee/391ab493179a6b41f82f2c3700e87792dd6f6f90d94bff9a8d9af267c36b/django-databrowse-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "926d95a7c365847fdd9d6affc5666fd3", "sha256": "f8ab5519ac6d07b4c170cef2e3fdb7f56a6b10152ccc102dad291cce740468b8" }, "downloads": -1, "filename": "django-databrowse-1.3.tar.gz", "has_sig": false, "md5_digest": "926d95a7c365847fdd9d6affc5666fd3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15125, "upload_time": "2013-11-29T23:42:32", "url": "https://files.pythonhosted.org/packages/7c/17/deccfa1963ebcd63427e710308b99bb96d8f04351973e03b5e84806de3d6/django-databrowse-1.3.tar.gz" } ], "2014.9.26": [ { "comment_text": "", "digests": { "md5": "e0572c19f7ef8f6f2b02d72d8daf450a", "sha256": "4d32260d0c9ee950caeacc61b745e3c6f44d380dff3aab91c08c140b2261926a" }, "downloads": -1, "filename": "django-databrowse-2014.9.26.tar.gz", "has_sig": false, "md5_digest": "e0572c19f7ef8f6f2b02d72d8daf450a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15830, "upload_time": "2014-09-26T17:17:39", "url": "https://files.pythonhosted.org/packages/c2/bb/4b71405d9863538a00b5eef13c3c12aa57502498c33bb64a47858ba22069/django-databrowse-2014.9.26.tar.gz" } ], "2016.3.16": [ { "comment_text": "", "digests": { "md5": "756f2407d8b4ba7e2ca57501ddf3be55", "sha256": "c4c76623068f81966c246171ac4474e2e0e5a37f02e4d6013b3f7b7335f557e0" }, "downloads": -1, "filename": "django-databrowse-2016.3.16.tar.gz", "has_sig": false, "md5_digest": "756f2407d8b4ba7e2ca57501ddf3be55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16616, "upload_time": "2017-03-16T10:21:19", "url": "https://files.pythonhosted.org/packages/5f/d7/8ce5730b81aaee838dcd9cb9cf5b7333895969514f89f7e678d5f9548963/django-databrowse-2016.3.16.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "756f2407d8b4ba7e2ca57501ddf3be55", "sha256": "c4c76623068f81966c246171ac4474e2e0e5a37f02e4d6013b3f7b7335f557e0" }, "downloads": -1, "filename": "django-databrowse-2016.3.16.tar.gz", "has_sig": false, "md5_digest": "756f2407d8b4ba7e2ca57501ddf3be55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16616, "upload_time": "2017-03-16T10:21:19", "url": "https://files.pythonhosted.org/packages/5f/d7/8ce5730b81aaee838dcd9cb9cf5b7333895969514f89f7e678d5f9548963/django-databrowse-2016.3.16.tar.gz" } ] }