{ "info": { "author": "asyncee", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Software Development :: Widget Sets" ], "description": "Django-sticky-files\n===================\n\nAn application that solves a problem, when you need to save\nform's file field values between page reloads\n(including form validation errors).\n\n\nCurrently in development.\n\nInstallation\n------------\n\nInstall an application::\n\n pip install django-sticky-files\n\n\nThen add ``sticky_files`` to ``INSTALLED_APPS``.\n\nInclude urls::\n\n url(r'^sticky-images/', include('sticky_files.urls', namespace='sticky_files')),\n\n\nUsage\n-----\n\nThere are four model fields that implement sticky files behaviour::\n\n\n from django.db import models\n from sticky_files import fields\n from sticky_files.models import FileBase\n\n\n class SomeImage(FileBase):\n pass\n\n\n class SomeFile(FileBase):\n pass\n\n class SomeModel(models.Model):\n main_image = fields.StickyImageField(\n 'app.SomeImage',\n related_name='+'\n )\n images = fields.ManyStickyImageField(\n 'app.SomeImage',\n max_objects=4,\n related_name='galleries_images',\n )\n file = fields.StickyFileField(\n 'app.SomeFile',\n related_name='+'\n )\n files = fields.ManyStickyFileField(\n 'app.SomeFile',\n max_objects=4,\n related_name='galleries_files',\n )\n\n\nIt looks like this:\n\n.. image:: https://github.com/asyncee/django-sticky-files/raw/master/screenshots/intro.png\n :target: https://github.com/asyncee/django-sticky-files/raw/master/screenshots/intro.png\n\n\nProject is in development, so there are no documentation and tests **yet**.", "description_content_type": null, "docs_url": null, "download_url": "https://pypi.python.org/pypi/django-sticky-files/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/asyncee/django-sticky-files", "keywords": "django sticky_files", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-sticky-files", "package_url": "https://pypi.org/project/django-sticky-files/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-sticky-files/", "project_urls": { "Download": "https://pypi.python.org/pypi/django-sticky-files/", "Homepage": "https://github.com/asyncee/django-sticky-files" }, "release_url": "https://pypi.org/project/django-sticky-files/0.3.2/", "requires_dist": null, "requires_python": null, "summary": "Application to make Django file fields save their values between page reloads", "version": "0.3.2" }, "last_serial": 1785402, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "41afd5f3d9e61f49cc6da46e4f372a5b", "sha256": "d24e593aaee26966178a9cb00524f592299a281f80422196fcdec96ebb0d864e" }, "downloads": -1, "filename": "django-sticky-files-0.1.tar.gz", "has_sig": false, "md5_digest": "41afd5f3d9e61f49cc6da46e4f372a5b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 938638, "upload_time": "2015-10-11T08:21:45", "url": "https://files.pythonhosted.org/packages/48/f8/a2b4543f5724cfc4199fbb362ff8e6f2f2724fc32c65fb8a3d2712868c2f/django-sticky-files-0.1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "81104a6f23677454c344d42442594aab", "sha256": "ec3bd8c58f743025b18c2804a9994c5446b00b33a66fa162b943be54b4ab90aa" }, "downloads": -1, "filename": "django-sticky-files-0.3.tar.gz", "has_sig": false, "md5_digest": "81104a6f23677454c344d42442594aab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 939034, "upload_time": "2015-10-18T13:05:46", "url": "https://files.pythonhosted.org/packages/68/9e/cfe1db2a29111d9c46fab0a769b002fac689756f710112bddd22645e9e29/django-sticky-files-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "68a096dd20fd0b388d28ce9b4f55e5f0", "sha256": "ffcd7ad9a3b091a2eb385fd6f5f467dd4410c99f4657d9fead00b2edcb482366" }, "downloads": -1, "filename": "django-sticky-files-0.3.1.tar.gz", "has_sig": false, "md5_digest": "68a096dd20fd0b388d28ce9b4f55e5f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 939134, "upload_time": "2015-10-18T13:10:54", "url": "https://files.pythonhosted.org/packages/f7/cf/ad3d421290b8d86e2d51fadea1be9b09a7fa712f93bb1983f86b6fdbeac8/django-sticky-files-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "5dd9bc8b49af22e6fe36667b50094c7f", "sha256": "cf441cbacad35ef4d0dab89e14a74ec0c1f137369a2c308fc350b36648d4f279" }, "downloads": -1, "filename": "django-sticky-files-0.3.2.tar.gz", "has_sig": false, "md5_digest": "5dd9bc8b49af22e6fe36667b50094c7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1018001, "upload_time": "2015-10-25T17:24:26", "url": "https://files.pythonhosted.org/packages/4f/c2/b5868cbee3d9880cedf532c1b7d8f3c63c720fe4f0ab9ca2d8cdf1d9b3ad/django-sticky-files-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5dd9bc8b49af22e6fe36667b50094c7f", "sha256": "cf441cbacad35ef4d0dab89e14a74ec0c1f137369a2c308fc350b36648d4f279" }, "downloads": -1, "filename": "django-sticky-files-0.3.2.tar.gz", "has_sig": false, "md5_digest": "5dd9bc8b49af22e6fe36667b50094c7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1018001, "upload_time": "2015-10-25T17:24:26", "url": "https://files.pythonhosted.org/packages/4f/c2/b5868cbee3d9880cedf532c1b7d8f3c63c720fe4f0ab9ca2d8cdf1d9b3ad/django-sticky-files-0.3.2.tar.gz" } ] }