Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)
Raises when tries get non-existant plugin class

src/d/j/django-comments-1.0.0.b/django_comments/plugins.py   django-comments(Download)
# -*- coding: utf-8 -*-
 
from django.core.exceptions import ImproperlyConfigured
from django.utils.importlib import import_module
from django_comments.exceptions import AlreadyRegistered, NoSuchPlugin

src/d/j/django-comments-HEAD/django_comments/plugins.py   django-comments(Download)
# -*- coding: utf-8 -*-
 
from django.core.exceptions import ImproperlyConfigured
from django.utils.importlib import import_module
from django_comments.exceptions import AlreadyRegistered, NoSuchPlugin

src/d/j/django-comments-HEAD/django_comments/tests/__init__.py   django-comments(Download)
from django.http import HttpRequest
from django_comments.plugins import plugin_pool
from django_comments.exceptions import AlreadyRegistered, NoSuchPlugin
 
class EnvironmentTest(test.TestCase):

src/d/j/django-comments-HEAD/django_comments/tests/plugin_pool.py   django-comments(Download)
from django.core.exceptions import ImproperlyConfigured
from django_comments.plugins import plugin_pool
from django_comments.exceptions import NoSuchPlugin, AlreadyRegistered
from django_comments.defaults import DjangoCommentPlugin
 

src/d/j/django-comments-1.0.0.b/django_comments/tests/__init__.py   django-comments(Download)
from django.http import HttpRequest
from django_comments.plugins import plugin_pool
from django_comments.exceptions import AlreadyRegistered, NoSuchPlugin
 
class EnvironmentTest(test.TestCase):

src/d/j/django-comments-1.0.0.b/django_comments/tests/plugin_pool.py   django-comments(Download)
from django.core.exceptions import ImproperlyConfigured
from django_comments.plugins import plugin_pool
from django_comments.exceptions import NoSuchPlugin, AlreadyRegistered
from django_comments.defaults import DjangoCommentPlugin