This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="../topeka-elements/theme.html" rel="import"> | |
<link href="../topeka-elements/topeka-resources.html" rel="import"> | |
<link href="../topeka-elements/topeka-app.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
position: absolute; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# API authentication | |
from social.apps.django_app.utils import strategy | |
from rest_framework.authtoken.models import Token | |
from rest_framework.views import APIView | |
from rest_framework import parsers | |
from rest_framework import renderers | |
from rest_framework.authentication import get_authorization_header | |
from rest_framework.response import Response |