{ "info": { "author": "Kit Sunde", "author_email": "kitsunde.com", "bugtrack_url": null, "classifiers": [], "description": "Django Octocat\n==============\n\n.. image:: https://api.travis-ci.org/Celc/django-octocat.png?branch=master\n :target: https://travis-ci.org/Celc/django-octocat\n\n.. image:: https://coveralls.io/repos/Celc/django-octocat/badge.png?branch=master\n :target: https://coveralls.io/r/Celc/django-octocat?branch=master\n\n.. image:: https://pypip.in/v/django-octocat/badge.png\n :target: https://crate.io/packages/django-octocat\n\n.. image:: https://pypip.in/d/django-octocat/badge.png\n :target: https://crate.io/packages/django-octocat\n\nA Django app for handling github users and repos.\n\nInstallation\n------------\n\nTo get the latest stable release from PyPi\n\n.. code-block:: bash\n\n pip install django-octocat\n\nTo get the latest commit from GitHub\n\n.. code-block:: bash\n\n pip install -e git+git://github.com/Celc/django-octocat.git#egg=github\n\nAdd ``github`` to your ``INSTALLED_APPS``\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...,\n 'github',\n )\n\nAdd the ``github`` URLs to your ``urls.py``\n\n.. code-block:: python\n\n urlpatterns = patterns('',\n ...\n url(r'^github/', include('github.urls', namespace='github')),\n )\n\nAdd ``github.middlewares.GithubAuthorizationMiddleware`` to your\n``MIDDLEWARE_CLASSES``\n\n.. code-block:: python\n\n MIDDLEWARE_CLASSES = (\n ...\n 'github.middlewares.GithubAuthorizationMiddleware',\n )\n\nAdd ``github.backends.GithubBackend`` to your ``AUTHENTICATION_BACKENDS``\n\n.. code-block:: python\n\n AUTHENTICATION_BACKENDS = (\n ...\n 'github.backends.GithubBackend',\n )\n\nDon't forget to migrate your database\n\n.. code-block:: bash\n\n ./manage.py migrate github\n\nIf you are planning on cloning the repos set the target directory in\n``settings.py``\n\n.. code-block:: python\n\n import tempfile\n GITHUB_ROOT = tempfile.gettempdir()\n\n\nFinally add the Github settings under ``/admin``.\n\nUsage\n-----\n\nTo authenticate users send them to ``{% url 'github:authorize' pk=1 %}`` where\npk is the id of the Github app.\n\nContribute\n----------\n\n.. code-block:: bash\n\n mkvirtualenv django-octocat\n make develop\n\nAdd code, write test, send pull request.\n\nOctocat\n-------\nOctocat is a trademark owned by GitHub Inc and is used with permission. The\nlibrary is in no way affiliated, maintained or sponsored by GitHub Inc.", "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/Celc/django-octocat", "keywords": "django,app,reusable,github,git", "license": "The MIT License", "maintainer": null, "maintainer_email": null, "name": "django-octocat", "package_url": "https://pypi.org/project/django-octocat/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-octocat/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Celc/django-octocat" }, "release_url": "https://pypi.org/project/django-octocat/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "A Django app for handling github users and repos.", "version": "0.2.1" }, "last_serial": 882209, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "cffba432db039a5cc69587c54bbc202b", "sha256": "416d9fb3e8b26984201d04cbc003d7e778474ce00661b0448d3cdd94795f8119" }, "downloads": -1, "filename": "django-octocat-0.1.0.tar.gz", "has_sig": false, "md5_digest": "cffba432db039a5cc69587c54bbc202b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9775, "upload_time": "2013-08-25T12:36:03", "url": "https://files.pythonhosted.org/packages/fe/47/31bee2afee32f332cbf3c370705c3a8a445f56b6ba027b11e9d66375ae81/django-octocat-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "a67eb0c7a1a56134834b9c3935e26466", "sha256": "22ddeb386d983a3f38fbec9d3ecf17a72810609b5f73a3f43bb984348672df5d" }, "downloads": -1, "filename": "django-octocat-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a67eb0c7a1a56134834b9c3935e26466", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12005, "upload_time": "2013-10-04T22:20:26", "url": "https://files.pythonhosted.org/packages/0b/44/4217b7c85e32e667b892b4a2252bfe62df610bf2701e33df0b171ef56eda/django-octocat-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "f470c55c1dfc4ed5235fe6a937a97d92", "sha256": "267cf16ed97412d23d0042d0759ed9611ef32dd017d7de31138f417e1f1a29ab" }, "downloads": -1, "filename": "django-octocat-0.2.1.tar.gz", "has_sig": false, "md5_digest": "f470c55c1dfc4ed5235fe6a937a97d92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12619, "upload_time": "2013-10-06T03:34:06", "url": "https://files.pythonhosted.org/packages/e8/c5/9c64c4dd29fe18a80e0efa18a9dfd38b843ff0369e320249cf483a5f69e0/django-octocat-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f470c55c1dfc4ed5235fe6a937a97d92", "sha256": "267cf16ed97412d23d0042d0759ed9611ef32dd017d7de31138f417e1f1a29ab" }, "downloads": -1, "filename": "django-octocat-0.2.1.tar.gz", "has_sig": false, "md5_digest": "f470c55c1dfc4ed5235fe6a937a97d92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12619, "upload_time": "2013-10-06T03:34:06", "url": "https://files.pythonhosted.org/packages/e8/c5/9c64c4dd29fe18a80e0efa18a9dfd38b843ff0369e320249cf483a5f69e0/django-octocat-0.2.1.tar.gz" } ] }