{ "info": { "author": "Jule Slootbeek", "author_email": "jslootbeek@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "[![Latest Version](https://pypip.in/v/django-country-blocker/badge.png)](https://pypi.python.org/pypi/django-country-blocker/)\n[![Downloads](https://pypip.in/d/django-country-blocker/badge.png)](https://pypi.python.org/pypi/django-country-blocker/)\n\ndjango-country-blocker\n======================\n\nDjango app introducing a Context Processor that adds users location information to the context.\n\nTo activate, add country_block.context_processors.addgeoip to your CONTEXT_MODIFIERS.\nThis will give you a user_country variable in your context and a country variable in the user's session\nwith the user's 2 character ISO country code, and an in_country boolean set to True is the country matches one of\nthe allowed countries.\n\n==========================================================\nLocal Settings options\n==========================================================\n\nLOCATION : a unique 2 char string that identifies the server's location\n\nCOUNTRY_BLOCK_DEBUG_COUNTRY : sets the user_country equal to this value for all users, letting you test as if you are in\nthis country. False by default.\n\nCOUNTRY_BLOCK_DEBUG_REGION : sets the region_code equal to this value for all users, letting you test as if you are in\nthis region. False by default.\n\n==========================================================\nDatabase Settings options (country_block.Settings model)\n==========================================================\n\nlocation : This is a unique 2 char value that corresponds to the LOCATION value in the local settings\n\nfree_geo_ip_enabled : Use the freegeoip.net to determine the geography of the user's IP\n\nfree_geo_ip_timeout : freegeoip.net request timeout in seconds (default is 2 seconds)\n\nmaxmind_enabled : Use the https://geoip.maxmind.com/a service to determine the geography of the user's IP.\nIf this is True and free_geo_ip_enabled is also True, the context processor will try the freegeoip.net service first\nand will only try the Maxmind service if freegeoip.net fails.\n\nmaxmind_timeout : maxmind.com request timeout in seconds (default is 6 seconds)\n\nmaxmind_local_db_enabled : Use a local Maxmind database instead of the https://geoip.maxmind.com/a service. Must also\nhave maxmind_enabled set to True.\n\nallowed_countries : A M2M relationship of all Countrys that are allowed for the server's location\n\nstaff_user_country : The Country that all django staff users will be assigned\n\nlocal_ip_user_country : The Country that all local IP users will be assigned\n\nmaxmind_license_key : The license key for the Maxmind service. A value is required if maxmind_enabled is True\nand maxmind_local_db_enabled is False. This gets sent over as the 'l' parameter in the payload to the\nhttps://geoip.maxmind.com/a service.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.github.com/jslootbeek/django-country-blocker", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-country-blocker", "package_url": "https://pypi.org/project/django-country-blocker/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-country-blocker/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.github.com/jslootbeek/django-country-blocker" }, "release_url": "https://pypi.org/project/django-country-blocker/1.1.13/", "requires_dist": null, "requires_python": null, "summary": "Django app introducing a Context Processor that adds users location information to the context.", "version": "1.1.13" }, "last_serial": 1330299, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "e6bfbbfeaf436fcb7e80e48218b8ec65", "sha256": "f4a9e43dc54aec6270048470f6e112abf13c81facb34a2a38c844b54ad2aa1d2" }, "downloads": -1, "filename": "django-country-blocker-0.1.tar.gz", "has_sig": false, "md5_digest": "e6bfbbfeaf436fcb7e80e48218b8ec65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1722, "upload_time": "2012-05-18T00:09:03", "url": "https://files.pythonhosted.org/packages/d0/9c/72edee20a47638b5e1d88a7c05bbe25bfd940cac4c41ede4af5c228036fa/django-country-blocker-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7501abbd3641f76514acbbc57d935967", "sha256": "0c81202072a419b1e84df771e93ceb2c2f00a0e9c94229d07b09c536b6c6eea4" }, "downloads": -1, "filename": "django-country-blocker-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7501abbd3641f76514acbbc57d935967", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1740, "upload_time": "2012-07-03T20:39:03", "url": "https://files.pythonhosted.org/packages/52/57/38062844b9be61300a6e469e44784e09de9487ea0bcb19e1e0390eb3bba2/django-country-blocker-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "596c4ac2ba85700b30c164d64bba08c3", "sha256": "89306d72758c14022434c3c130460a4515084dfbefea097128a72a35b89deb59" }, "downloads": -1, "filename": "django-country-blocker-0.1.2.tar.gz", "has_sig": false, "md5_digest": "596c4ac2ba85700b30c164d64bba08c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1949, "upload_time": "2012-10-22T21:14:23", "url": "https://files.pythonhosted.org/packages/dd/91/b43e01755467b5f95d5bdc62e2546436ed7857728c3414a3b0c4baab1c82/django-country-blocker-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "cbb516aa7a3c67b16b4b0a730d477382", "sha256": "b49babfe04d8cd40dcc1af2ad23ec3b6ff14b684e0f76c5f40e29374a24b3948" }, "downloads": -1, "filename": "django-country-blocker-0.1.3.tar.gz", "has_sig": false, "md5_digest": "cbb516aa7a3c67b16b4b0a730d477382", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1962, "upload_time": "2012-10-23T01:52:22", "url": "https://files.pythonhosted.org/packages/fa/f2/d2ea112c7db532921b0f6feec1ab7f66690c2ba54e94860dc657ca2c5f12/django-country-blocker-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "9a7ca456df6676e858e9130c289e695d", "sha256": "f86be98e1893c5bb36835291d42b002c31bdf5c66499f6828cde43ebaa852d3a" }, "downloads": -1, "filename": "django-country-blocker-0.1.4.tar.gz", "has_sig": false, "md5_digest": "9a7ca456df6676e858e9130c289e695d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1966, "upload_time": "2012-10-23T10:18:00", "url": "https://files.pythonhosted.org/packages/94/35/16c512b400f12f362f667e29e89a46b67277a62ea5ff65b0bff35c5b5393/django-country-blocker-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "68d37005bd8c35c3f13d5279dacfaa93", "sha256": "b2f6eeca4d87b0345715421c8c938756d651f6287faef1cbdb6e3c60889d47c6" }, "downloads": -1, "filename": "django-country-blocker-0.1.5.tar.gz", "has_sig": false, "md5_digest": "68d37005bd8c35c3f13d5279dacfaa93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1964, "upload_time": "2012-10-24T16:30:04", "url": "https://files.pythonhosted.org/packages/35/4a/c21e3719aabeb410d2b0d56a083112421a7cbce77416d6b2f4f42b3ecfcd/django-country-blocker-0.1.5.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "c3355ddd6b3d203ffee28736fc6e8525", "sha256": "6048ed7d37200d55f1dcbd4730c7a103d1554b4011da9ea46ab9a41f42256bee" }, "downloads": -1, "filename": "django-country-blocker-1.0.tar.gz", "has_sig": false, "md5_digest": "c3355ddd6b3d203ffee28736fc6e8525", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2891, "upload_time": "2013-03-15T13:56:44", "url": "https://files.pythonhosted.org/packages/7a/0a/5b76f30e487f4e87a191e97788e9224191df3569d418e8457d0ade52e2ec/django-country-blocker-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "dd3cb507bcf636d41cd65fc8d86c65e0", "sha256": "2d54ee2bca6da1dcf432f52de5740b4d28db42e1d9b7b84afddc0610551579d2" }, "downloads": -1, "filename": "django-country-blocker-1.0.1.tar.gz", "has_sig": false, "md5_digest": "dd3cb507bcf636d41cd65fc8d86c65e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2899, "upload_time": "2013-03-15T14:13:17", "url": "https://files.pythonhosted.org/packages/5d/1a/e6db314d3bf1a08f82acbaac8effe7abe326cae2ba414860359f6215752e/django-country-blocker-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "580246cfe81a14bcbb2f9b81f265d423", "sha256": "40a4c2ac188e25a2757fdcfb2da64b1358c7e2c73dcb21870e8320b4f84f79b1" }, "downloads": -1, "filename": "django-country-blocker-1.0.2.tar.gz", "has_sig": false, "md5_digest": "580246cfe81a14bcbb2f9b81f265d423", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2918, "upload_time": "2013-03-15T15:48:53", "url": "https://files.pythonhosted.org/packages/eb/4f/6f438e31de811ebe402577f8a67a3de2de8259ecdb5d5f3004c275f16c92/django-country-blocker-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "3378633987869908a7ff5383710e101c", "sha256": "3abb02dbe9e488ddf4290be40971cf2de729226042428b26b49b83a95f36bf6a" }, "downloads": -1, "filename": "django-country-blocker-1.0.3.tar.gz", "has_sig": false, "md5_digest": "3378633987869908a7ff5383710e101c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2881, "upload_time": "2013-03-15T15:57:07", "url": "https://files.pythonhosted.org/packages/4a/55/221ccc17c0d7887a3b25f3ef9cfe7619288724469f4f673684a9e59533b8/django-country-blocker-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "9b275838d2935acaf6aad37d9e19a9da", "sha256": "fbd362e5285bc2a07ddd042148d9c6b30342e38ea29373b935005a5513c094c1" }, "downloads": -1, "filename": "django-country-blocker-1.0.4.tar.gz", "has_sig": false, "md5_digest": "9b275838d2935acaf6aad37d9e19a9da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2886, "upload_time": "2013-03-25T23:26:39", "url": "https://files.pythonhosted.org/packages/85/78/b9f9b3ae008e06ccdc977b0843357b14c54253b5bccfe0eccc169631920c/django-country-blocker-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "233e302d7eb8625c68eda5d7761d7f09", "sha256": "4d507a8bc68e37e4522a3f314d8357fbcc0b8fbbe0307bb770d48380fd8a336a" }, "downloads": -1, "filename": "django-country-blocker-1.0.5.tar.gz", "has_sig": false, "md5_digest": "233e302d7eb8625c68eda5d7761d7f09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2919, "upload_time": "2013-03-29T22:30:54", "url": "https://files.pythonhosted.org/packages/fb/d7/58a91943e546a97cfa5c1d1a1449a414f626076618730b70d52603811c53/django-country-blocker-1.0.5.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "f2c99b840f2c84c3d4aa83517129dc54", "sha256": "e74af1ffb7b42eef6a64a5ef6f811bbb92c48b1f1e4e75671fcaf8efa85ed6be" }, "downloads": -1, "filename": "django-country-blocker-1.1.0.tar.gz", "has_sig": false, "md5_digest": "f2c99b840f2c84c3d4aa83517129dc54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3211, "upload_time": "2013-04-09T19:17:57", "url": "https://files.pythonhosted.org/packages/47/58/4ee1f2e13eb9cbfe03a73cc3d0b0d004dae2c47588f39631c5863e7ac194/django-country-blocker-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "5514568867cdb5bb37fbec7a93206e88", "sha256": "3faca91242c9f80658ab4718a909d81b6e03c2a078343059cca16a6087d846d6" }, "downloads": -1, "filename": "django-country-blocker-1.1.1.tar.gz", "has_sig": false, "md5_digest": "5514568867cdb5bb37fbec7a93206e88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3636, "upload_time": "2013-04-10T14:40:40", "url": "https://files.pythonhosted.org/packages/21/ad/905595551fd43668ea69aa4468f546565c9d69488ca809252b2a84e3e1fb/django-country-blocker-1.1.1.tar.gz" } ], "1.1.10": [ { "comment_text": "", "digests": { "md5": "fbf737bce8f48fdc73cd4b3f0691646b", "sha256": "fa312f2a34ee58317cbea319e2910219eb10d29d2899bb2768d18440bc522920" }, "downloads": -1, "filename": "django-country-blocker-1.1.10.tar.gz", "has_sig": false, "md5_digest": "fbf737bce8f48fdc73cd4b3f0691646b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9693, "upload_time": "2013-12-19T17:31:16", "url": "https://files.pythonhosted.org/packages/23/3c/70cdea11f63f624386c6f930eba66718622bc3cafc6af7b1ec474c852b8c/django-country-blocker-1.1.10.tar.gz" } ], "1.1.11": [ { "comment_text": "", "digests": { "md5": "17561d59b9a61c35438d0d75992e302d", "sha256": "c3947b78329fcf3f7efcf60fafa08a2dcb3153b30b3c14394cc79c2d6d7e0beb" }, "downloads": -1, "filename": "django-country-blocker-1.1.11.tar.gz", "has_sig": false, "md5_digest": "17561d59b9a61c35438d0d75992e302d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10404, "upload_time": "2014-01-02T21:27:41", "url": "https://files.pythonhosted.org/packages/b5/df/0284f3b5c1a6138f38ebe7719a72661f4c4ad3c27dd987760c5e5107947e/django-country-blocker-1.1.11.tar.gz" } ], "1.1.12": [ { "comment_text": "", "digests": { "md5": "f197911d4ecd1c2b503c5e7c4baf9e7f", "sha256": "341b4e05977034a9c930427ad2d89b4c1d6f383c922a47083c7787166223ebd5" }, "downloads": -1, "filename": "django-country-blocker-1.1.12.tar.gz", "has_sig": false, "md5_digest": "f197911d4ecd1c2b503c5e7c4baf9e7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11912, "upload_time": "2014-06-05T19:42:51", "url": "https://files.pythonhosted.org/packages/74/93/22c301d485af17f7b8416a60a19390b56cd394a951747444dfeb452cba96/django-country-blocker-1.1.12.tar.gz" } ], "1.1.13": [ { "comment_text": "", "digests": { "md5": "a7573e7acc63ceb8d0d95e29b92d2fb1", "sha256": "cc4b8a01b98bfc74e18275f07face29894c3715643b7b5d5015918e0a18fd6b7" }, "downloads": -1, "filename": "django-country-blocker-1.1.13.tar.gz", "has_sig": false, "md5_digest": "a7573e7acc63ceb8d0d95e29b92d2fb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11966, "upload_time": "2014-12-03T21:04:14", "url": "https://files.pythonhosted.org/packages/35/53/e5e3d0e565b7fd728a39aa181613b8b49c984f08cb8bfa4af79f54cd401b/django-country-blocker-1.1.13.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "b7a41448dfd642f51c4b65124f5dae78", "sha256": "b6155501789897a27c3b0298b58f5986cac13bf858e6c6d4bb3c72b6dcb59d89" }, "downloads": -1, "filename": "django-country-blocker-1.1.2.tar.gz", "has_sig": false, "md5_digest": "b7a41448dfd642f51c4b65124f5dae78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3777, "upload_time": "2013-04-16T13:48:33", "url": "https://files.pythonhosted.org/packages/a2/ec/0796746b5d49975bcbf9b55d5fcf333c3b0bf7193b442d7e8705de6cb2f4/django-country-blocker-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "8ba4cd1b8f63a92125da2a88d20d864a", "sha256": "8c15e309ef40a30bd65f16f905ff792be3fd37157f7aa99cb2ea0af6f1394789" }, "downloads": -1, "filename": "django-country-blocker-1.1.3.tar.gz", "has_sig": false, "md5_digest": "8ba4cd1b8f63a92125da2a88d20d864a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3822, "upload_time": "2013-04-23T20:40:44", "url": "https://files.pythonhosted.org/packages/d4/dd/9976c13f4aa19d18c0b9343e47b358dbf27f12d0159345372b0116f57e18/django-country-blocker-1.1.3.tar.gz" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "c3b4ffdef60c8ae9878e8e2f2f25dcb4", "sha256": "30b8792c6e8fcc9d781eeaf5e593ff68a4c366ccbb686608a4897c0109d6ad0f" }, "downloads": -1, "filename": "django-country-blocker-1.1.4.tar.gz", "has_sig": false, "md5_digest": "c3b4ffdef60c8ae9878e8e2f2f25dcb4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4011, "upload_time": "2013-04-24T17:24:50", "url": "https://files.pythonhosted.org/packages/f2/fb/08841aaabff0be650fcd4cca877549ee56247b8ddd6d7c975dddc7c7339c/django-country-blocker-1.1.4.tar.gz" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "a6096685517d8de369ef77ccc14e89d1", "sha256": "d48edbc7f0dfe254f7c04d35efc19a33effe9afbc347819ebe9cde6d56e897df" }, "downloads": -1, "filename": "django-country-blocker-1.1.5.tar.gz", "has_sig": false, "md5_digest": "a6096685517d8de369ef77ccc14e89d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4035, "upload_time": "2013-06-05T20:12:40", "url": "https://files.pythonhosted.org/packages/56/fd/6340bcb27c666fa968ab85b97188647985a0b55fbe9946fe1976337537e6/django-country-blocker-1.1.5.tar.gz" } ], "1.1.6": [ { "comment_text": "", "digests": { "md5": "7b33d7512ba112d6923a87ac3b58e75e", "sha256": "cddcbcc2366342f8a49af5812178cb994d9482e484714c8d6c447e1f2b0ad21e" }, "downloads": -1, "filename": "django-country-blocker-1.1.6.tar.gz", "has_sig": false, "md5_digest": "7b33d7512ba112d6923a87ac3b58e75e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9225, "upload_time": "2013-06-19T18:42:29", "url": "https://files.pythonhosted.org/packages/88/4b/0d482e819d231b695d9497fca1d6e85e9dea10d1784106163215f8e9f2ac/django-country-blocker-1.1.6.tar.gz" } ], "1.1.7": [ { "comment_text": "", "digests": { "md5": "af42b3053fceb768e65dc7ed49b4898d", "sha256": "1e7171dce9c062c9549a608a5c8ac7e5d5d16ecaaf94bbfc5c906f7ed45b1d97" }, "downloads": -1, "filename": "django-country-blocker-1.1.7.tar.gz", "has_sig": false, "md5_digest": "af42b3053fceb768e65dc7ed49b4898d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9314, "upload_time": "2013-06-27T22:39:14", "url": "https://files.pythonhosted.org/packages/f3/29/1e8008d78810e5309d6fabef8fb7dc6ea4535385b6a6912b3a36235f68d2/django-country-blocker-1.1.7.tar.gz" } ], "1.1.8": [ { "comment_text": "", "digests": { "md5": "ca75745626200b129f7bba0e3f0cb176", "sha256": "688af386095a3db019b825bba1140eb84680f045a253dffc3f1d11f5ec0b08a5" }, "downloads": -1, "filename": "django-country-blocker-1.1.8.tar.gz", "has_sig": false, "md5_digest": "ca75745626200b129f7bba0e3f0cb176", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9351, "upload_time": "2013-08-09T17:22:48", "url": "https://files.pythonhosted.org/packages/fa/48/50f71a904585a02ddd879695e8008394b173c536a2f15eab06f6aabab186/django-country-blocker-1.1.8.tar.gz" } ], "1.1.9": [ { "comment_text": "", "digests": { "md5": "bab26a0baf139688ad14c97cb82a41b2", "sha256": "d8e34a1dca3aabf22ebff7fad5c80f8bf5bd98c3293adf22c84ab2c96c61eb4d" }, "downloads": -1, "filename": "django-country-blocker-1.1.9.tar.gz", "has_sig": false, "md5_digest": "bab26a0baf139688ad14c97cb82a41b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9486, "upload_time": "2013-12-09T20:59:10", "url": "https://files.pythonhosted.org/packages/61/77/4efe0a6db9e9847180436a74afa994c94682e53f61fb690d558ac56eca12/django-country-blocker-1.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a7573e7acc63ceb8d0d95e29b92d2fb1", "sha256": "cc4b8a01b98bfc74e18275f07face29894c3715643b7b5d5015918e0a18fd6b7" }, "downloads": -1, "filename": "django-country-blocker-1.1.13.tar.gz", "has_sig": false, "md5_digest": "a7573e7acc63ceb8d0d95e29b92d2fb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11966, "upload_time": "2014-12-03T21:04:14", "url": "https://files.pythonhosted.org/packages/35/53/e5e3d0e565b7fd728a39aa181613b8b49c984f08cb8bfa4af79f54cd401b/django-country-blocker-1.1.13.tar.gz" } ] }