some initial work on models and getting updates from the api.

This commit is contained in:
2018-04-23 16:50:06 +01:00
parent 8213a1abd8
commit 870d1f3dfb
3 changed files with 223 additions and 12 deletions

View File

@@ -9,9 +9,13 @@ from allauth.socialaccount.models import SocialAccount, SocialToken, SocialApp
from requests.auth import HTTPBasicAuth
from eve_auth.models import Corporation
def hello(request):
c = Corporation(id=98002591)
c.save()
c.update()
return render(
request,
'base.html',