Did I find the right examples for you? yes no

All Samples(8)  |  Call(0)  |  Derive(4)  |  Import(4)
A subclass of BaseCommand that logs run time errors to `django.commands`.
To use this, create a management command subclassing LoggingBaseCommand:

    from django_extensions.management.base import LoggingBaseCommand

    class Command(LoggingBaseCommand):
        help = 'Test error'

        def handle(self, *args, **options):
            raise Exception(more...)

src/r/o/rolf-HEAD/ve/lib/python2.7/site-packages/django_extensions/tests/management/commands/error_raising_command.py   rolf(Download)
 
from django_extensions.management.base import LoggingBaseCommand
 
 
class Command(LoggingBaseCommand):

src/d/j/django-extensions-HEAD/django_extensions/tests/management/commands/error_raising_command.py   django-extensions(Download)
 
from django_extensions.management.base import LoggingBaseCommand
 
 
class Command(LoggingBaseCommand):

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/django_extensions/tests/management/commands/error_raising_command.py   antisocial(Download)
 
from django_extensions.management.base import LoggingBaseCommand
 
 
class Command(LoggingBaseCommand):

src/d/j/django-extensions-1.3.3/django_extensions/tests/management/commands/error_raising_command.py   django-extensions(Download)
 
from django_extensions.management.base import LoggingBaseCommand
 
 
class Command(LoggingBaseCommand):