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

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

src/d/j/djangopypi2-0.6.1/djangopypi2/apps/pypi_frontend/distutils_request.py   djangopypi2(Download)
from django.utils.datastructures import MultiValueDict
from django.core.files.uploadedfile import TemporaryUploadedFile
from .distutils_views import ACTION_VIEWS
 
log = getLogger(__name__)
def handle_distutils_request(request):
    action = _get_distutils_action(request)
 
    if action not in ACTION_VIEWS:
        log.error('Invalid action encountered: %r', action)