Category: Uncategorized

Sandbox: 0




AWS Pricing Calculator

Started working on a pricing calculator for AWS services. Goal was to make it comprehensive while being easy to use. Initially I wanted to just create something like a Fargate Pricing Calculator but then...

How to fix django cors issue 0

How to fix django cors issue

create a file and type class CORSMiddleware: def __init__(self, get_response): self.get_response = get_response def __call__(self, request): response = self.get_response(request) response[‘Access-Control-Allow-Origin’] = “*” return response In add MIDDLEWARE = [ … ‘product.middleware.CORSMiddleware’, ]