{ "info": { "author": "Ilya Semenov", "author_email": "ilya@semenov.co", "bugtrack_url": null, "classifiers": [], "description": "django-uuid-upload\n==================\n\nLibrary for Django that automatically stores uploaded files as ``mydir/{uuid}.jpg`` or ``mydir/{uuid}/original.jpg``.\n\n\nInstallation\n============\n\n::\n\n pip install django-uuid-upload\n\n\nUsage\n=====\n\n.. code:: python\n\n\tfrom django.db import models\n\tfrom django_uuid_upload import upload_to_uuid\n\n\tclass Post(models.Model):\n\t\t# Store uploaded files as posts/{uuid}.jpg\n\t\timage = models.ImageField(upload_to=upload_to_uuid('posts'))\n\t\t\n\t\t# Or, store uploaded files as posts/{uuid}/original.jpg\n\t\timage = models.ImageField(upload_to=upload_to_uuid('posts', make_dir=True))", "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/IlyaSemenov/django-uuid-upload", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-uuid-upload", "package_url": "https://pypi.org/project/django-uuid-upload/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-uuid-upload/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/IlyaSemenov/django-uuid-upload" }, "release_url": "https://pypi.org/project/django-uuid-upload/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "Store Django uploaded files as UUID files or inside UUID directories", "version": "0.0.2" }, "last_serial": 2434684, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "828c173c9be809534d5b5e280ecd40e1", "sha256": "ab8ee4913153febfca3da2739acd9c740eec354122cd73cafdd3be4eeeaaea7d" }, "downloads": -1, "filename": "django-uuid-upload-0.0.1.tar.gz", "has_sig": false, "md5_digest": "828c173c9be809534d5b5e280ecd40e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1506, "upload_time": "2016-11-01T08:19:45", "url": "https://files.pythonhosted.org/packages/21/25/0446048ec92b6802cdc219dc0d6b37d89c8f6840767ed2702f3c7cac4830/django-uuid-upload-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a7a9dafc67cc9b6d915e2522f4f73fb7", "sha256": "116739664377e589539abedce21ac9046a80b00dc4d52988c0dd566bb6f4bac5" }, "downloads": -1, "filename": "django-uuid-upload-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a7a9dafc67cc9b6d915e2522f4f73fb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1524, "upload_time": "2016-11-01T08:37:46", "url": "https://files.pythonhosted.org/packages/ba/d3/893272298d0d4e73fbac6ed20be03a98f893e46f685e6f386b65f2c64ed0/django-uuid-upload-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a7a9dafc67cc9b6d915e2522f4f73fb7", "sha256": "116739664377e589539abedce21ac9046a80b00dc4d52988c0dd566bb6f4bac5" }, "downloads": -1, "filename": "django-uuid-upload-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a7a9dafc67cc9b6d915e2522f4f73fb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1524, "upload_time": "2016-11-01T08:37:46", "url": "https://files.pythonhosted.org/packages/ba/d3/893272298d0d4e73fbac6ed20be03a98f893e46f685e6f386b65f2c64ed0/django-uuid-upload-0.0.2.tar.gz" } ] }