{ "info": { "author": "Thiago Carvalho D Avila", "author_email": "thiagocavila@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: JavaScript", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "|Travis|_ |Python27|_ |Python35|_ |PyPi|_\n\n.. |Travis| image:: https://api.travis-ci.org/staticdev/django-cep.svg?branch=master\n.. _Travis: https://travis-ci.org/staticdev/django-cep\n\n.. |Python27| image:: https://img.shields.io/badge/python-2.7-blue.svg\n.. _Python27: https://badge.fury.io/py/django-pagination-bootstrap\n\n.. |Python35| image:: https://img.shields.io/badge/python-3.5-blue.svg\n.. _Python35: https://badge.fury.io/py/django-pagination-bootstrap\n\n.. |PyPi| image:: https://badge.fury.io/py/django-cep.svg\n.. _PyPi: https://badge.fury.io/py/django-cep\n\n\ndjango-cep\n===============\n\nThis application enables Django_ powered websites to have autofilled address fields in forms based on brazilian CEP field.\n\nInstallation\n------------\nTo install ``django-cep`` simply run::\n\n pip install django-cep\n\nConfiguration\n-------------\n\nWe need to hook ``django-cep`` into our project.\n\nPut ``cep`` into your ``INSTALLED_APPS`` at settings module::\n\n INSTALLED_APPS = (\n ...\n 'cep',\n )\n\nBind the ``cep urls.py`` into your ``main urls.py`` with something like::\n\n url(r'^cep/', include('cep.urls')),\n\nUsage\n-----\nCurrently the only syntax supported is setting the IDs of the address fields in the widget of the CEP field. For other ways to set this up, see the NEXT-STEPS file.\n\nI. Import the django-cep widget CEPInput in your forms.py::\n\n from cep.widgets import CEPInput\n\nII. Set your CEP field for using the CEPInput, with the correct address fields ID, for example::\n\n my_cep_field = ChangeToMyCEPFieldModelName(label=u\"CEP\",\n help_text=\"Format: XXXXX-XXX\",\n widget=CEPInput(address={\n 'street': 'id_street_field',\n 'district': 'id_district_field', \n 'city': 'id_city_field',\n 'state': 'id_state_field'\n }))\n\n That stands for a street field ID equals id_street_field, district field ID equals id_district_field, city field ID equals id_city_field and a state field ID equals id_state_field. \n\nAlso note that the JavaScript used in this app requires JQuery_ to run properly.\n\nIt is highly recommended that you use `Django Localflavor`_'s BRStateChoiceField for the State field, to make it render the correct brazilian state from the list.\n\n.. _Django: https://www.djangoproject.com/\n.. _JQuery: http://jquery.com/\n.. _Django Localflavor: https://github.com/django/django-localflavor-br", "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/staticdev/django-cep", "keywords": null, "license": "LICENSE", "maintainer": null, "maintainer_email": null, "name": "django-cep", "package_url": "https://pypi.org/project/django-cep/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-cep/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/staticdev/django-cep" }, "release_url": "https://pypi.org/project/django-cep/1.1.2/", "requires_dist": null, "requires_python": null, "summary": "Address fields autofill app for forms using brazilian CEP field.", "version": "1.1.2" }, "last_serial": 2126209, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "7704e63bfef0fcc38b409215cb239b6f", "sha256": "e0370a96b1b067e9e29d9c895c26d2f13b1ee549ea433d8bf5736ce468911eb3" }, "downloads": -1, "filename": "django-cep-1.0.1.tar.gz", "has_sig": false, "md5_digest": "7704e63bfef0fcc38b409215cb239b6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4048, "upload_time": "2013-03-10T13:35:04", "url": "https://files.pythonhosted.org/packages/80/d1/05c781eaf4d0eec844dc74a7a3006afc6582b421e0b21cae61826d39445f/django-cep-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "7f00b30965987d1ec47c81b75052239c", "sha256": "e27e83ce707abc624d0cb8a4eaf2a9ad42720aefe82a08a8262bfd4d62c64a64" }, "downloads": -1, "filename": "django-cep-1.0.2.tar.gz", "has_sig": false, "md5_digest": "7f00b30965987d1ec47c81b75052239c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4029, "upload_time": "2013-03-26T01:32:04", "url": "https://files.pythonhosted.org/packages/1e/89/ef93ddb4c5732e2a6d2e5d52282e3d395d9b151f408b3cea422350dc2209/django-cep-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "e3fa55aa9ba6cb81c960380c7a2ba799", "sha256": "bb62f01384effb73b7f0bc4c70394e6769fab315f0161b46866c9cd981276df8" }, "downloads": -1, "filename": "django-cep-1.0.3.tar.gz", "has_sig": false, "md5_digest": "e3fa55aa9ba6cb81c960380c7a2ba799", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4021, "upload_time": "2013-03-26T01:35:52", "url": "https://files.pythonhosted.org/packages/01/99/70f4a4a3e628c0554a881f562a2b8267dcc12c65801c2a1980cd4c145c57/django-cep-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "a1eb3fa7af5301a156265849ab976795", "sha256": "e0c1454ab0f0c2229437a0f0330ecf8af7300029398a5484388949178e956e14" }, "downloads": -1, "filename": "django-cep-1.0.4.tar.gz", "has_sig": false, "md5_digest": "a1eb3fa7af5301a156265849ab976795", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4021, "upload_time": "2013-03-27T00:21:56", "url": "https://files.pythonhosted.org/packages/3d/d0/cffe0af34adbbf228d44d6976471f09c1b1c69f75ef49914f882116a085e/django-cep-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "4a4d835c7e6a1dc65fb66d7042fda338", "sha256": "1e75f9b2ae2ed95247b99567f72511b342a82e5b5fc9f5a459a2e9a29bd83147" }, "downloads": -1, "filename": "django-cep-1.0.5.tar.gz", "has_sig": false, "md5_digest": "4a4d835c7e6a1dc65fb66d7042fda338", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4325, "upload_time": "2013-03-27T00:48:25", "url": "https://files.pythonhosted.org/packages/5d/fb/281bf1784a95395210bfb00db8b26c505b30b41d9c934997bf4e62e10adf/django-cep-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "e8dc8c61182e2b4f9c249c9eaefd68fa", "sha256": "89fedbb81fb0e78384ac671614230a03c612ef485a1068b70409c23869b17639" }, "downloads": -1, "filename": "django-cep-1.0.6.tar.gz", "has_sig": false, "md5_digest": "e8dc8c61182e2b4f9c249c9eaefd68fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4643, "upload_time": "2013-03-27T01:46:35", "url": "https://files.pythonhosted.org/packages/d3/2f/c282c8d0bc9ca5b7bc4723b7c349a944de955de66fb15857e19a0878aebe/django-cep-1.0.6.tar.gz" } ], "1.0.6-2": [ { "comment_text": "", "digests": { "md5": "397d450cd8c73d3f29e89fd07e562717", "sha256": "9a35c0e97ad9e06ba51d8abebf39913820cc3bd0e565c3d03ac9b4bd552308c6" }, "downloads": -1, "filename": "django-cep-1.0.6-2.tar.gz", "has_sig": false, "md5_digest": "397d450cd8c73d3f29e89fd07e562717", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4663, "upload_time": "2013-03-27T09:42:46", "url": "https://files.pythonhosted.org/packages/b2/9d/1241d3a23c90f226861caf7dd1f77249a481d1e5bea0648d25a9c8522f40/django-cep-1.0.6-2.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "bb7eab59ddcf1c379830d536bdf60700", "sha256": "2aa493ae2b182d814c11d417cfa071e5738d9005e17e2d7c18e0888f6bb665f4" }, "downloads": -1, "filename": "django-cep-1.0.7.tar.gz", "has_sig": false, "md5_digest": "bb7eab59ddcf1c379830d536bdf60700", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4757, "upload_time": "2013-04-07T01:47:43", "url": "https://files.pythonhosted.org/packages/36/01/efc4b2da7b41c0e841522f5abbc80cf5462ba6e2e27dc88e3f3784590c9d/django-cep-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "9c9d6fb361eaa735ee46635959eac6b7", "sha256": "833a70309cd8e322f71d3cd322ab201bce860238d0d7ccf88cf3be88dd094663" }, "downloads": -1, "filename": "django-cep-1.0.8.tar.gz", "has_sig": false, "md5_digest": "9c9d6fb361eaa735ee46635959eac6b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5244, "upload_time": "2013-05-29T02:27:55", "url": "https://files.pythonhosted.org/packages/9e/97/206ff33b04c2e64687ab14800411e9ee292857fb425ea50eb809800b2baf/django-cep-1.0.8.tar.gz" } ], "1.0.9": [ { "comment_text": "", "digests": { "md5": "bd62e5d6adb41381d5a71984d091ac2b", "sha256": "223f2068cfed5bee687f429fa9cab974f8675c770f49fe67c2885868b038d992" }, "downloads": -1, "filename": "django-cep-1.0.9.tar.gz", "has_sig": false, "md5_digest": "bd62e5d6adb41381d5a71984d091ac2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5265, "upload_time": "2013-07-06T16:27:28", "url": "https://files.pythonhosted.org/packages/f2/09/ddc7397a65d67815f91cf375b4f8ead4c4a2752a46cbcc254b4fa2cccbba/django-cep-1.0.9.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "e786c5a280a7e6a617ad539d95bf1a19", "sha256": "2e2b56c701b6c63b7dfa2726babb298e779f88d31a58e380a451960e02060746" }, "downloads": -1, "filename": "django-cep-1.1.0.tar.gz", "has_sig": false, "md5_digest": "e786c5a280a7e6a617ad539d95bf1a19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5150, "upload_time": "2016-05-17T09:42:02", "url": "https://files.pythonhosted.org/packages/3b/fd/244401c1951a1a5c559eb3ee1131fa4598525bf6779b3a089bd7cf4b6a74/django-cep-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "1ee7252817d3493f7460ec5a442d7688", "sha256": "97966ccb3a1a9b7c98c48a8c8a70ed75a7672a0d89d57c7e7fb41564f2859deb" }, "downloads": -1, "filename": "django-cep-1.1.1.tar.gz", "has_sig": false, "md5_digest": "1ee7252817d3493f7460ec5a442d7688", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5322, "upload_time": "2016-05-20T00:22:32", "url": "https://files.pythonhosted.org/packages/1f/c7/26d720bcfc00697bc6caea1b52b959df2ea187769baf8b23628cfe7edcfa/django-cep-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "b2c1706259d4160a572baf754ccd6764", "sha256": "06cac287e8304cba4d995ce8325ea258d9fa6aa1ed6ac2dcb544881ff9b98da9" }, "downloads": -1, "filename": "django-cep-1.1.2.tar.gz", "has_sig": false, "md5_digest": "b2c1706259d4160a572baf754ccd6764", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5273, "upload_time": "2016-05-20T23:00:08", "url": "https://files.pythonhosted.org/packages/d6/1d/888598b18458aee0155725db9355e5d2219a86131a74cb11b2c63ac6c566/django-cep-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b2c1706259d4160a572baf754ccd6764", "sha256": "06cac287e8304cba4d995ce8325ea258d9fa6aa1ed6ac2dcb544881ff9b98da9" }, "downloads": -1, "filename": "django-cep-1.1.2.tar.gz", "has_sig": false, "md5_digest": "b2c1706259d4160a572baf754ccd6764", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5273, "upload_time": "2016-05-20T23:00:08", "url": "https://files.pythonhosted.org/packages/d6/1d/888598b18458aee0155725db9355e5d2219a86131a74cb11b2c63ac6c566/django-cep-1.1.2.tar.gz" } ] }