Initial app and model for LinkedIn integration.

This commit is contained in:
Chris Rossi
2013-12-09 14:53:18 -05:00
committed by Diana Huang
parent 9d0e9f6762
commit cc53aab4ec
6 changed files with 18 additions and 0 deletions

View File

View File

@@ -0,0 +1,8 @@
from django.core.management.base import BaseCommand, CommandError
class Command(BaseCommand):
args = ''
help = 'Checks LinkedIn for students that are on LinkedIn'
def handle(self, *args, **options):
print "Hello World!"

View File

@@ -0,0 +1,7 @@
from django.contrib.auth.models import User
from django.db import models
class LinkedIn(models.Model):
user = models.OneToOneField(User, primary_key=True)
has_linkedin_account = models.NullBooleanField(default=None)

View File

@@ -293,3 +293,6 @@ try:
from .private import * # pylint: disable=F0401
except ImportError:
pass
####################### Linkedin ###########################
INSTALLED_APPS += ('linkedin',)