Skip to main content

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


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 details)

Uploaded Source

File details

Details for the file djbrut-0.8.0.tar.gz.

File metadata

  • Download URL: djbrut-0.8.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for djbrut-0.8.0.tar.gz
Algorithm Hash digest
SHA256 b6db7523bd63f918c01759a47044930292441a1978b804ada8aed3190ab50a82
MD5 5573fd67c02b7020fed623adf026f597
BLAKE2b-256 6775be0e948b00bc25bfe9a1174940c855f7a10c89aed411986a92f795c2f5be

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page