Skip to content

Instantly share code, notes, and snippets.

# 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
@jproby
jproby / designer.html
Last active August 29, 2015 14:18
designer
<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;