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

All Samples(7)  |  Call(1)  |  Derive(0)  |  Import(6)

src/d/j/django-noticebox-0.1/noticebox/handlers.py   django-noticebox(Download)
from django.template.loader import get_template
 
from noticebox.models import Notice
 
 
        """
        subject, body = self.render(user, preset, **kwargs)
        return Notice(user=user, subject=subject, body=body)
 
    def save_notices(self, notices):

src/d/j/django-noticebox-0.1/noticebox/views.py   django-noticebox(Download)
from django.views.generic import ListView, DetailView
 
from noticebox.models import Notice
 
 

src/d/j/django-noticebox-0.1/noticebox/context_processors.py   django-noticebox(Download)
"""
Django context processors.
"""
 
from noticebox.models import Notice

src/d/j/django-noticebox-0.1/noticebox/tests/test_views.py   django-noticebox(Download)
 
from noticebox.models import Notice
from noticebox.tests.base import BaseNoticeTestCase
 
 

src/d/j/django-noticebox-0.1/noticebox/tests/test_handlers.py   django-noticebox(Download)
 
from django.core.mail.backends.locmem import EmailBackend as LocMemEmailBackend
 
from noticebox.handlers import EmailHandler, DatabaseHandler, user_notice
from noticebox.models import Notice

src/d/j/django-noticebox-0.1/noticebox/tests/test_context_processors.py   django-noticebox(Download)
from django.test.client import RequestFactory
 
from noticebox.models import Notice
from noticebox.tests.base import BaseNoticeTestCase