Framework for views in big projects on Django.
Project description
from django.http import HttpResponse
from djbrut import Attempt
def some_view(request):
attempt = Attempt(request)
# check
if not attempt.check():
# error
return HttpResponse(attempt.error)
# success
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
djbrut-0.8.0.tar.gz
(6.2 kB
view hashes)