Skip to content

Instantly share code, notes, and snippets.

@eremeevdev
Created July 5, 2014 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eremeevdev/8a30a718050ee8fb7a2a to your computer and use it in GitHub Desktop.
Save eremeevdev/8a30a718050ee8fb7a2a to your computer and use it in GitHub Desktop.
class Check:
date = DateField()
class Url:
check = ForeignKey(check)
keyword = models.ForeignKey(Keyword)
type = models.CharField(max_length=128, choices=URL_TYPE_CHOICES)
class Stat:
url = ForeignKey(Url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment