some initial work on models and getting updates from the api.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user