This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A Django app for handling github users and repos.

Installation

To get the latest stable release from PyPi

pip install django-octocat

To get the latest commit from GitHub

pip install -e git+git://github.com/Celc/django-octocat.git#egg=github

Add github to your INSTALLED_APPS

INSTALLED_APPS = (
    ...,
    'github',
)

Add the github URLs to your urls.py

urlpatterns = patterns('',
    ...
    url(r'^github/', include('github.urls', namespace='github')),
)

Add github.middlewares.GithubAuthorizationMiddleware to your MIDDLEWARE_CLASSES

MIDDLEWARE_CLASSES = (
    ...
    'github.middlewares.GithubAuthorizationMiddleware',
)

Add github.backends.GithubBackend to your AUTHENTICATION_BACKENDS

AUTHENTICATION_BACKENDS = (
    ...
    'github.backends.GithubBackend',
)

Don’t forget to migrate your database

./manage.py migrate github

If you are planning on cloning the repos set the target directory in settings.py

import tempfile
GITHUB_ROOT = tempfile.gettempdir()

Finally add the Github settings under /admin.

Usage

To authenticate users send them to {% url 'github:authorize' pk=1 %} where pk is the id of the Github app.

Contribute

mkvirtualenv django-octocat
make develop

Add code, write test, send pull request.

Octocat

Octocat is a trademark owned by GitHub Inc and is used with permission. The library is in no way affiliated, maintained or sponsored by GitHub Inc.

Release History

Release History

0.2.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-octocat-0.2.1.tar.gz (12.6 kB) Copy SHA256 Checksum SHA256 Source Oct 6, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting