Skip to main content

django github models

Project description

Installation

$ [sudo] pip install django-github-models

Features

  • abstract models

Models

model __doc__
StarredRepo
Gist
Repo
User
StarredGist
Follower
GistFile
Following

Examples

from django_github_models.models import Repo as _Repo
from taggit.managers import TaggableManager
from taggit.models import TaggedItemBase

class RepoTopic(TaggedItemBase):
    content_object = models.ForeignKey(
        'Repo',
        related_name='tagged_items',
        on_delete=models.CASCADE
    )

class Repo(_Repo):
    topics = TaggableManager(through=RepoTopic, blank=True)

Links

django-readme-generator

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-github-models, version 2019.4.13
Filename, size File type Python version Upload date Hashes
Filename, size django-github-models-2019.4.13.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page