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

All Samples(5)  |  Call(2)  |  Derive(0)  |  Import(3)

src/d/a/dataox-HEAD/dataox/sharepoint/views.py   dataox(Download)
from django.http import Http404, HttpResponse
from django.utils.decorators import method_decorator
from django_conneg.http import HttpError
from django_conneg.views import ContentNegotiatedView
 
        except Credential.DoesNotExist:
            logger.warning("Missing SharePoint credentials", exc_info=1)
            raise HttpError(status_code=httplib.SERVICE_UNAVAILABLE)
 
        sp_request = urllib2.Request(url)
                logger.warning("Failed authentication accessing profile image: %d",
                               e.code, exc_info=1)
                raise HttpError(status_code=httplib.SERVICE_UNAVAILABLE)
            raise
 

src/d/j/django-conneg-0.9.5/django_conneg/views.py   django-conneg(Download)
from django_conneg.conneg import Conneg
from django_conneg.decorators import renderer
from django_conneg.http import MediaType, HttpError, HttpNotAcceptable
from django_conneg.utils import utc
 

src/d/j/django-conneg-HEAD/django_conneg/views.py   django-conneg(Download)
from django_conneg.conneg import Conneg
from django_conneg.decorators import renderer
from django_conneg.http import MediaType, HttpError, HttpNotAcceptable
from django_conneg.utils import utc