{ "info": { "author": "Cascadian Tech LLC", "author_email": "anthony@cascadiantech.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=====\nUseragents\n=====\n\nUseragents is a simple app to track the user agents, ips and other info\nof the various visitors of your django site. The information is stored in\nthe database for easy reference and exporting.\n\nQuick start\n-----------\n\n1. Add \"ct_useragents\" and \"ipware\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = [\n ...\n 'ipware',\n 'ct_useragents',\n ]\n \n2. Add useragents to the middleware:\nmake sure you add this after 'django.contrib.auth.middleware.AuthenticationMiddleware'\nof you will get errors\n\tMIDDLEWARE_CLASSES = [\n\t\t...\n\t\t'useragents.utils.UserAgentsMiddleware',\n\t\t...\n\t]\n\n3. Add ipware helpers to settings:\n# you can provide your own meta precedence order by\n# including IPWARE_META_PRECEDENCE_ORDER in your project's\n# settings.py. The check is done from top to bottom\nIPWARE_META_PRECEDENCE_ORDER = (\n\t'HTTP_X_FORWARDED_FOR', 'X_FORWARDED_FOR', # client, proxy1, proxy2\n\t'HTTP_CLIENT_IP',\n\t'HTTP_X_REAL_IP',\n\t'HTTP_X_FORWARDED',\n\t'HTTP_X_CLUSTER_CLIENT_IP',\n\t'HTTP_FORWARDED_FOR',\n\t'HTTP_FORWARDED',\n\t'HTTP_VIA',\n\t'REMOTE_ADDR',\n)\n\n# you can provide your own private IP prefixes by\n# including IPWARE_PRIVATE_IP_PREFIX in your project's setting.py\n# IPs that start with items listed below are ignored\n# and are not considered a `real` IP address\nIPWARE_PRIVATE_IP_PREFIX = (\n\t'0.', # externally non-routable\n\t'10.', # class A private block\n\t'169.254.', # link-local block\n\t'172.16.', '172.17.', '172.18.', '172.19.',\n\t'172.20.', '172.21.', '172.22.', '172.23.',\n\t'172.24.', '172.25.', '172.26.', '172.27.',\n\t'172.28.', '172.29.', '172.30.', '172.31.', # class B private blocks\n\t'192.0.2.', # reserved for documentation and example code\n\t'192.168.', # class C private block\n\t'255.255.255.', # IPv4 broadcast address\n) + (\n\t'2001:db8:', # reserved for documentation and example code\n\t'fc00:', # IPv6 private block\n\t'fe80:', # link-local unicast\n\t'ff00:', # IPv6 multicast\n)\n\nfor more info check django-ipware git repo: https://github.com/un33k/django-ipware\n\n3. Run `python manage.py migrate ct_useragents` to create the polls models.\n\n4. Start the development server and visit http://127.0.0.1:8000/admin/\n see the info on your visitors", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://cascadiantech.com/", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "django-ct-useragents", "package_url": "https://pypi.org/project/django-ct-useragents/", "platform": "", "project_url": "https://pypi.org/project/django-ct-useragents/", "project_urls": { "Homepage": "https://cascadiantech.com/" }, "release_url": "https://pypi.org/project/django-ct-useragents/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "A simple Django app to track IP and User Agent info.", "version": "0.1.4" }, "last_serial": 3498425, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "4dff10949a3559c81c0ef8bcba6e8f76", "sha256": "e9b3ca0e36ea8775754347bb50509804c3fee784f0adb9e275f04960d05b5739" }, "downloads": -1, "filename": "django-ct-useragents-0.1.tar.gz", "has_sig": true, "md5_digest": "4dff10949a3559c81c0ef8bcba6e8f76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5526, "upload_time": "2017-11-07T01:21:07", "url": "https://files.pythonhosted.org/packages/ce/f3/a411924f580faf6e40731910dbd5f73b1def33bb685ceb2244e892c7eb52/django-ct-useragents-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c31664c8150f452433d54044af1c6ccd", "sha256": "9eb794061fef0cac037e23942d669a481add17ef0e6ad5ad9e0686ca16ade3e1" }, "downloads": -1, "filename": "django-ct-useragents-0.1.1.tar.gz", "has_sig": true, "md5_digest": "c31664c8150f452433d54044af1c6ccd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5929, "upload_time": "2018-01-15T22:07:28", "url": "https://files.pythonhosted.org/packages/7a/5e/b73f6a6927889972691ac0e10015c291ce65aa710d5673a92f3531bb46b5/django-ct-useragents-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "9a7179aa01ec9a4fee69440ebaf93f10", "sha256": "e38d5369443f52ccafda84efba906decdc77f6b108199c303af86837e01d5119" }, "downloads": -1, "filename": "django-ct-useragents-0.1.2.tar.gz", "has_sig": true, "md5_digest": "9a7179aa01ec9a4fee69440ebaf93f10", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5940, "upload_time": "2018-01-15T22:18:38", "url": "https://files.pythonhosted.org/packages/95/3c/1b4a09cd9901d1f4c5cb43178c3283e8a49c66c591aa53de4983ccb7e8fd/django-ct-useragents-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "a06bcaf1a19b41a14eb4b90caed8c63c", "sha256": "f146a244340c045529cee61f88ff0600a7e5d04a454afa89dda9c47f336b1e44" }, "downloads": -1, "filename": "django-ct-useragents-0.1.3.tar.gz", "has_sig": true, "md5_digest": "a06bcaf1a19b41a14eb4b90caed8c63c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5922, "upload_time": "2018-01-15T22:25:50", "url": "https://files.pythonhosted.org/packages/53/f0/471a1eaff419a908fdf84876c3931b6c31b8c6378a36deefa0ce6f9b1114/django-ct-useragents-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "bf15351a0c47027e021c01db952ee943", "sha256": "1fe3f1aa3eb3b09219cb3d16d1b4e8c8caf117350179f28b095a9de85830a31f" }, "downloads": -1, "filename": "django-ct-useragents-0.1.4.tar.gz", "has_sig": true, "md5_digest": "bf15351a0c47027e021c01db952ee943", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5934, "upload_time": "2018-01-17T20:06:05", "url": "https://files.pythonhosted.org/packages/92/d6/c7c2c878ff18b8008535bbd1c1a4134d6511e4e8f64a2b94c129887108dc/django-ct-useragents-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bf15351a0c47027e021c01db952ee943", "sha256": "1fe3f1aa3eb3b09219cb3d16d1b4e8c8caf117350179f28b095a9de85830a31f" }, "downloads": -1, "filename": "django-ct-useragents-0.1.4.tar.gz", "has_sig": true, "md5_digest": "bf15351a0c47027e021c01db952ee943", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5934, "upload_time": "2018-01-17T20:06:05", "url": "https://files.pythonhosted.org/packages/92/d6/c7c2c878ff18b8008535bbd1c1a4134d6511e4e8f64a2b94c129887108dc/django-ct-useragents-0.1.4.tar.gz" } ] }