{ "info": { "author": "Interaction Consortium", "author_email": "studio@interaction.net.au", "bugtrack_url": null, "classifiers": [], "description": "|Requirements Status|\n\nOverview\n========\n\nThis package contains common code for the SFMOMA website and collection\nprojects, such as:\n\n- Abstract collection models.\n- Database routers.\n- Elastic Search integration.\n\nAbstract and concrete models\n----------------------------\n\nYou must implement concrete versions of each abstract collection model\nin an app named ``collection`` within your project.\n\nThis will allow you to define different methods and behaviour for the\nmodels in each project (as if they were proxy models), but without any\nforeign key problems (as with proxy models).\n\nEven if multiple projects access a shared database with different\nconcrete ``collection`` implementations, only one set of migrations will\nbe defined in the ``collection_migrations`` app, and they can be applied\nby any project.\n\nModel import paths will be the same, so it should be possible to swap in\na different concrete implementation by factoring it out of the project\ninto a standalone app and then substituting it for another.\n\nProjects that use a ``collection`` app MUST include the following\nsetting to ensure the database is consistent across projects:\n\n::\n\n MIGRATION_MODULES = {\n 'collection': 'collection_migrations',\n }\n\nThese migrations are stored in the top level ``collection_migrations``\npackage, instead of ``collection_models.migrations``, because\n``collection_models`` is installed into projects and that confuses\nDjango.\n\nShared Artwork Images\n---------------------\n\nAll projects should symlink the ``artwork_image_path`` to a common\ndirectory:\n\n::\n\n COLLECTION_MODELS = {\n 'artwork_image_path': 'collection-artwork-images',\n }\n\nYou can also configure options for artwork thumbnails:\n\n::\n\n COLLECTION_MODELS = {\n 'artwork_thumbnail_options': {'size': (250, 250)},\n }\n\nElastic Search Integration\n--------------------------\n\nInstall the ``collection_models.search`` app and use the\n``index_collection`` management command to populate the search index:\n\n::\n\n $ ./manage.py index_collection\n\n.. |Requirements Status| image:: https://img.shields.io/requires/github/ic-labs/glamkit-collections.svg\n :target: https://requires.io/github/ic-labs/glamkit-collections/requirements/", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ixc/glamkit-collections", "keywords": null, "license": null, "maintainer": null, "maintainer_email": null, "name": "glamkit-collections", "package_url": "https://pypi.org/project/glamkit-collections/", "platform": null, "project_url": "https://pypi.org/project/glamkit-collections/", "project_urls": { "Homepage": "https://github.com/ixc/glamkit-collections" }, "release_url": "https://pypi.org/project/glamkit-collections/0.36/", "requires_dist": null, "requires_python": null, "summary": "Boilerplate for modelling collections of collecting institutions.", "version": "0.36" }, "last_serial": 2450220, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "b22ae4581acf8b1b8525b1a1fe85e645", "sha256": "8b6100635fcfbc2683e196a11fd64434fcaa10dbea49b7196a8c827cfde20daf" }, "downloads": -1, "filename": "glamkit_collections-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b22ae4581acf8b1b8525b1a1fe85e645", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 24661, "upload_time": "2016-08-11T06:21:21", "url": "https://files.pythonhosted.org/packages/58/64/ed70fa0e2d0e2edd698d185f0cc9417e0ae7b30438d5d79c77b1e211cfdb/glamkit_collections-0.2-py2.py3-none-any.whl" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "441caacf17b82ed0317c9031b1fb7d7e", "sha256": "b560f734f0c72378d18088d7b9842403c2937f733b1a07dc70c8640a6f058ce2" }, "downloads": -1, "filename": "glamkit_collections-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "441caacf17b82ed0317c9031b1fb7d7e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 24701, "upload_time": "2016-08-17T09:20:43", "url": "https://files.pythonhosted.org/packages/df/3c/18672dcbe1b7328a0ded21ecb34e85227dbd68fb28d84ee78a3c58ef8320/glamkit_collections-0.2.1-py2.py3-none-any.whl" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "a5d2c15bc5a87bd505f5d4bb64997540", "sha256": "6483afae767f1663500134c9132b1f621cd66ec55b75bf96a17638b8548209cd" }, "downloads": -1, "filename": "glamkit_collections-0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a5d2c15bc5a87bd505f5d4bb64997540", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 63425, "upload_time": "2016-10-26T10:31:10", "url": "https://files.pythonhosted.org/packages/04/70/86d5de1fbf1e994ead70be73ca12fca68601f9fcef62a6227ee02e6d36b6/glamkit_collections-0.3-py2.py3-none-any.whl" } ], "0.35": [ { "comment_text": "", "digests": { "md5": "9fc1df0d5b6e19394f1da74186c6f7c6", "sha256": "fbb1dac124ae42416d851f69677958cbed6f8a2ed427e58f0297ee6e6a6223f1" }, "downloads": -1, "filename": "glamkit_collections-0.35-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9fc1df0d5b6e19394f1da74186c6f7c6", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 63598, "upload_time": "2016-10-26T12:22:05", "url": "https://files.pythonhosted.org/packages/51/0a/a54e67666037acd45b45462a7ac02a9951b164093696afeb085268b43837/glamkit_collections-0.35-py2.py3-none-any.whl" } ], "0.36": [ { "comment_text": "", "digests": { "md5": "5c746b337be39e5992446283fe79f4f3", "sha256": "e634c6698a28edc9a258a8d92b4f01118f54ff3cbaa8ad6ade11bac8301e970c" }, "downloads": -1, "filename": "glamkit_collections-0.36-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5c746b337be39e5992446283fe79f4f3", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 64293, "upload_time": "2016-11-09T00:56:57", "url": "https://files.pythonhosted.org/packages/02/88/91460d6e5a524094ceaa31d3bffcbfbcc1eaa0a4ea1bc54d9d995125c419/glamkit_collections-0.36-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5c746b337be39e5992446283fe79f4f3", "sha256": "e634c6698a28edc9a258a8d92b4f01118f54ff3cbaa8ad6ade11bac8301e970c" }, "downloads": -1, "filename": "glamkit_collections-0.36-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5c746b337be39e5992446283fe79f4f3", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 64293, "upload_time": "2016-11-09T00:56:57", "url": "https://files.pythonhosted.org/packages/02/88/91460d6e5a524094ceaa31d3bffcbfbcc1eaa0a4ea1bc54d9d995125c419/glamkit_collections-0.36-py2.py3-none-any.whl" } ] }