Commit cc53aab4 by Chris Rossi Committed by Diana Huang

Initial app and model for LinkedIn integration.

parent 9d0e9f67
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!"
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)
......@@ -293,3 +293,6 @@ try:
from .private import * # pylint: disable=F0401
except ImportError:
pass
####################### Linkedin ###########################
INSTALLED_APPS += ('linkedin',)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment