Ubuntu 18.04 Tools and Apps

This serves to be an ever-changing personal list of what to install if I ever redo my Ubuntu machine. Currently I am running Ubuntu 18.04 so can only guarantee compatibility with that version. Uncommon Comfortable Swipe – https://github.com/Hikari9/comfortable-swipe-ubuntu Lets you map trackpad gestures to just about anything. Also comes with sensible Read more…

How to fix django cors issue

create a file middleware.py 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 settings.py add MIDDLEWARE = [ … ‘product.middleware.CORSMiddleware’, ]