Skip to content

Instantly share code, notes, and snippets.

@theptrk
Created November 14, 2022 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theptrk/da30b130ad10ca0626859936c7853cf3 to your computer and use it in GitHub Desktop.
Save theptrk/da30b130ad10ca0626859936c7853cf3 to your computer and use it in GitHub Desktop.
from django.core.exceptions import PermissionDenied
from django.shortcuts import get_object_or_404
from django.shortcuts import render
from django.shortcuts import redirect
from django.contrib.auth.decorators import login_required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment