{
"info": {
"author": "Ilya_Bat9",
"author_email": "nasirov@olympus.ru",
"bugtrack_url": null,
"classifiers": [
"Framework :: Django",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3"
],
"description": "Django Random Image From Folder\n=================\n\nDjango Random Image From Folder is a simple app to load a random image from a specified directory.\n\nIt's trivially simple but I've needed it a few times so I thought maybe others have too.\n\nInstallation\n************\n\nAdd 'random_image' to INSTALLED_APPS.\n\nSettings\n************\n\nAll settings are optional\n\n**RANDOM_IMAGE_DIR**\n\nDefault: Not defined\n\nA path to the directory from which to load the random images. Relative to MEDIA_ROOT.\n\nNote: Passing a path to the template tag will always override the RANDOM_IMAGE_DIR setting.\n\n**RANDOM_IMAGE_EXTENSIONS**\n\nDefault: ['.jpg','.jpeg','.png','.gif']\n\nA list containing extensions to be considered when choosing a random image.\n\n\nUsage\n************\n\nPass in a path to the image directory::\n\n {% load random_image %}\n
\n\nThe path to the image directory should be relative to MEDIA_ROOT.\n\nor if you have added RANDOM_IMAGE_DIR to your settings file::\n\n {% load random_image %}\n
\n\n\nThat's it! Simple as it gets.\n\n\n",
"description_content_type": "text/markdown",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/IlyaBat9/django-random-image-from-folder",
"keywords": "",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "django-random-image-from-folder",
"package_url": "https://pypi.org/project/django-random-image-from-folder/",
"platform": "",
"project_url": "https://pypi.org/project/django-random-image-from-folder/",
"project_urls": {
"Homepage": "https://github.com/IlyaBat9/django-random-image-from-folder"
},
"release_url": "https://pypi.org/project/django-random-image-from-folder/0.0.3/",
"requires_dist": null,
"requires_python": "",
"summary": "Django Random Image From Folder is a simple app to load a random image from a specified directory.",
"version": "0.0.3"
},
"last_serial": 5421144,
"releases": {
"0.0.2": [
{
"comment_text": "",
"digests": {
"md5": "906d7968b78cb71c5b314a3d84b2fc68",
"sha256": "1ac0849bfa5a356a5a7bb61ec4bba613e6d9d286f15f2053ca428275d783cb81"
},
"downloads": -1,
"filename": "django_random_image_from_folder-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "906d7968b78cb71c5b314a3d84b2fc68",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3806,
"upload_time": "2019-06-19T15:37:22",
"url": "https://files.pythonhosted.org/packages/aa/c7/016ff652b8811e69daab1d625aff7e3654edec732a7f88c6952b4496e62e/django_random_image_from_folder-0.0.2-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "efe27b804dbe63aa129bdf8aa22454c2",
"sha256": "232355a4b6b8641a3f0b0f5775abff1760a46bcf05e68b5770422872e420e58b"
},
"downloads": -1,
"filename": "django-random-image-from-folder-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "efe27b804dbe63aa129bdf8aa22454c2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2041,
"upload_time": "2019-06-19T15:37:25",
"url": "https://files.pythonhosted.org/packages/08/db/e3a20e7422a1a9767dacf29c1d91b8f52a1377b0bd71e6455cb88eb50bf2/django-random-image-from-folder-0.0.2.tar.gz"
}
],
"0.0.3": [
{
"comment_text": "",
"digests": {
"md5": "28268890ceccd743c9fe8ccbd44a60af",
"sha256": "5323679489c6c3fb50b433cdf57cd1dfe21786dd6b3560050cb7c9d52479dff2"
},
"downloads": -1,
"filename": "django_random_image_from_folder-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "28268890ceccd743c9fe8ccbd44a60af",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3805,
"upload_time": "2019-06-19T16:13:11",
"url": "https://files.pythonhosted.org/packages/c2/3d/842ef51ce7e54cf5e8b7bfd899cd3dc4e06e9cd8451f8890a35bf3d3ad57/django_random_image_from_folder-0.0.3-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "71db2b0209509c7770715c02703a6f9b",
"sha256": "3514f8409e0e95a5862a729bc6e3354cf5af7d662deb5cd768320378e190d31b"
},
"downloads": -1,
"filename": "django-random-image-from-folder-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "71db2b0209509c7770715c02703a6f9b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2050,
"upload_time": "2019-06-19T16:13:12",
"url": "https://files.pythonhosted.org/packages/44/7c/07110528631fd33742e6b2f52f24735dfaa8d216e79e513e90054d234192/django-random-image-from-folder-0.0.3.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "28268890ceccd743c9fe8ccbd44a60af",
"sha256": "5323679489c6c3fb50b433cdf57cd1dfe21786dd6b3560050cb7c9d52479dff2"
},
"downloads": -1,
"filename": "django_random_image_from_folder-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "28268890ceccd743c9fe8ccbd44a60af",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3805,
"upload_time": "2019-06-19T16:13:11",
"url": "https://files.pythonhosted.org/packages/c2/3d/842ef51ce7e54cf5e8b7bfd899cd3dc4e06e9cd8451f8890a35bf3d3ad57/django_random_image_from_folder-0.0.3-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "71db2b0209509c7770715c02703a6f9b",
"sha256": "3514f8409e0e95a5862a729bc6e3354cf5af7d662deb5cd768320378e190d31b"
},
"downloads": -1,
"filename": "django-random-image-from-folder-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "71db2b0209509c7770715c02703a6f9b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2050,
"upload_time": "2019-06-19T16:13:12",
"url": "https://files.pythonhosted.org/packages/44/7c/07110528631fd33742e6b2f52f24735dfaa8d216e79e513e90054d234192/django-random-image-from-folder-0.0.3.tar.gz"
}
]
}