Commit 81677488 authored by fred's avatar fred
Browse files

add missing PermissionDenied import

parent 6410777a
from django.contrib.auth.decorators import user_passes_test
from django.core.urlresolvers import RegexURLPattern, RegexURLResolver
from django.core.exceptions import PermissionDenied
class DecoratedURLPattern(RegexURLPattern):
def resolve(self, *args, **kwargs):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment