File: exceptions.py

package info (click to toggle)
django-render-block 0.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 152 kB
  • sloc: python: 301; makefile: 8
file content (10 lines) | stat: -rw-r--r-- 310 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
from django.core.exceptions import ImproperlyConfigured
from django.template.base import TemplateSyntaxError


class BlockNotFound(TemplateSyntaxError):
    """The expected block was not found."""


class UnsupportedEngine(ImproperlyConfigured):
    """An engine that we cannot render blocks from was used."""