{ "info": { "author": "Orne Brocaar, Camilo Nova", "author_email": "camilo.nova@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "Django Google Tools\n===================\n\n.. image:: https://secure.travis-ci.org/camilonova/django-google-tools.png?branch=master\n :alt: Build Status\n :target: http://travis-ci.org/camilonova/django-google-tools\n\nDjango app for managing Google Analytics and Site Verification codes.\n\n\nInstallation\n------------\n\nIn your virtualenv just type::\n\n $ pip install django-google-tools\n\n\nConfiguration\n-------------\n\nIn Django 1.6 the sites framework is disabled by default, for enable the sites\nframework in Django 1.6 follow the steps 1, 2 and 3:\n\n1. Add 'django.contrib.sites' to your INSTALLED_APPS setting.\n\n2. Define a SITE_ID setting::\n\n SITE_ID = 1\n\n3. Run in your shell::\n\n $ ./manage.py syncdb\n\n4. Add ``googletools`` to your ``INSTALLED_APPS``::\n\n INSTALLED_APPS = (\n 'django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.sites',\n ...\n 'googletools',\n ...\n )\n\n5. Run in your shell::\n\n $ ./manage.py syncdb\n\nOr if you are using ``South``::\n\n $ ./manage.py migrate\n\nIf you have in your settings ``DEBUG=True`` googletools will not render anything\nbecause this library is inteded mostly to use on production sites, if you want to\nchange this behavior you can set ``GOOGLETOOLS_ENABLED=True`` in your settings\nfile. Just for clarification it is defined like this::\n\n GOOGLETOOLS_ENABLED = not DEBUG\n\nThis means, by default googletools will be enabled when ``DEBUG=False``.\n\n\nManagement\n----------\n\nGo to the admin interface. When correctly installed, you will find the\n*Googletools* app. There you can manage your Google Analytics and Site Verification\ncodes.\n\n\nTemplatetags\n------------\n\nIn order to use the googletools in your templates you'll have to load the templatetags.\n\n``{% load googletools %}``\n\nUse ``{% analytics_code %}`` for inserting your Analytics code.\n\nUse ``{% site_verification_code %}`` for inserting your site verification code.\n\nTemplatetags will return an empty string if they are not configured for the current site.\n\nThe template should look like::\n\n {% load googletools %}\n \n \n \n ...\n \n {% site_verification_code %}\n\n \n\n {% analytics_code %}\n \n \n

My awesome project

\n ...\n \n \n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/camilonova/django-google-tools", "keywords": "django,analytics,google analytics,verification code,site verification", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-google-tools", "package_url": "https://pypi.org/project/django-google-tools/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-google-tools/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/camilonova/django-google-tools" }, "release_url": "https://pypi.org/project/django-google-tools/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Django app for managing Google Analytics and Site Verification codes.", "version": "1.1.0" }, "last_serial": 2196068, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "7d558c65481bf283d58de9a64b437b08", "sha256": "0c34d4f26220de81fb166b1048a62de6997cdb7d54af9a1e31362869e8f4ab7f" }, "downloads": -1, "filename": "django-google-tools-0.1.3.tar.gz", "has_sig": false, "md5_digest": "7d558c65481bf283d58de9a64b437b08", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4892, "upload_time": "2012-03-24T16:44:58", "url": "https://files.pythonhosted.org/packages/18/96/907813318c573719e351bd2eec0d46b87a1ea97033cd773360096366ca5e/django-google-tools-0.1.3.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "47170d5678cadf537ca0687e20300c91", "sha256": "d20b200646fbca79da013670584e5ff5e68bb1451b7816543178507abe96385d" }, "downloads": -1, "filename": "django-google-tools-1.0.0.tar.gz", "has_sig": false, "md5_digest": "47170d5678cadf537ca0687e20300c91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6763, "upload_time": "2013-04-20T21:09:30", "url": "https://files.pythonhosted.org/packages/52/fb/6fb0932c7c9492f400cc37fd961f3ec2862b0098b4343cdf4ad1ba03bac6/django-google-tools-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "45722e9d21b376802dc29d9833c899d5", "sha256": "c22ae6682c711c4053a0b67baebe9b085bf8e589fa5851c87e4f13e202c45073" }, "downloads": -1, "filename": "django-google-tools-1.1.0.tar.gz", "has_sig": false, "md5_digest": "45722e9d21b376802dc29d9833c899d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5725, "upload_time": "2016-06-30T14:56:50", "url": "https://files.pythonhosted.org/packages/a5/24/75b8a1302cec391c22dcc1612d40f053410ae1477620666e8aa3722ae042/django-google-tools-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "45722e9d21b376802dc29d9833c899d5", "sha256": "c22ae6682c711c4053a0b67baebe9b085bf8e589fa5851c87e4f13e202c45073" }, "downloads": -1, "filename": "django-google-tools-1.1.0.tar.gz", "has_sig": false, "md5_digest": "45722e9d21b376802dc29d9833c899d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5725, "upload_time": "2016-06-30T14:56:50", "url": "https://files.pythonhosted.org/packages/a5/24/75b8a1302cec391c22dcc1612d40f053410ae1477620666e8aa3722ae042/django-google-tools-1.1.0.tar.gz" } ] }