Pinned Loading
-
Software-Foundations-Coq
Software-Foundations-Coq PublicAnswers to some of exercises from "Software Foundations" by Benjamin C. Pierce
Coq 1
-
-
Execute a function after sending res...
Execute a function after sending response to user. 1from rest_framework.response import Response
2class ResponseThen(Response):
3def __init__(self, data=None, callback=None, *args, **kwargs):
4assert callable(callback) or callback is None, "callback parameter must be callable"
5super(ResponseThen, self).__init__(data, *args, **kwargs)
-
DRF auth by third-party private key
DRF auth by third-party private key 1import logging
2import os
34import jwt
5from django.contrib.auth import get_user_model
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.