diff --git a/lib/decorators.py b/lib/decorators.py deleted file mode 100644 index 5e8762c..0000000 --- a/lib/decorators.py +++ /dev/null @@ -1,10 +0,0 @@ -from django import http - - -def require_post(f): - def wrapper(request, *args, **kw): - if request.method == 'POST': - return f(request, *args, **kw) - else: - return http.HttpResponseNotAllowed(['POST']) - return wrapper