Remove dumbass __all__ variables

This commit is contained in:
Tom Christie 2012-09-20 13:22:07 +01:00
parent 87dae4d854
commit 7efc6e8205
4 changed files with 0 additions and 36 deletions

View File

@ -26,17 +26,6 @@ import decimal
from io import BytesIO from io import BytesIO
__all__ = (
'BaseParser',
'JSONParser',
'PlainTextParser',
'FormParser',
'MultiPartParser',
'YAMLParser',
'XMLParser'
)
class DataAndFiles(object): class DataAndFiles(object):
def __init__(self, data, files): def __init__(self, data, files):
self.data = data self.data = data

View File

@ -5,15 +5,6 @@ for checking if a request passes a certain set of constraints.
Permission behavior is provided by mixing the :class:`mixins.PermissionsMixin` class into a :class:`View` class. Permission behavior is provided by mixing the :class:`mixins.PermissionsMixin` class into a :class:`View` class.
""" """
__all__ = (
'BasePermission',
'FullAnonAccess',
'IsAuthenticated',
'IsAdminUser',
'IsUserOrIsAnonReadOnly',
'PerUserThrottling',
'PerViewThrottling',
)
SAFE_METHODS = ['GET', 'HEAD', 'OPTIONS'] SAFE_METHODS = ['GET', 'HEAD', 'OPTIONS']

View File

@ -21,19 +21,6 @@ from rest_framework.fields import FloatField, IntegerField, DateTimeField, DateF
import string import string
__all__ = (
'BaseRenderer',
'TemplateRenderer',
'JSONRenderer',
'JSONPRenderer',
'DocumentingHTMLRenderer',
'DocumentingXHTMLRenderer',
'DocumentingPlainTextRenderer',
'XMLRenderer',
'YAMLRenderer'
)
class BaseRenderer(object): class BaseRenderer(object):
""" """
All renderers must extend this class, set the :attr:`media_type` attribute, All renderers must extend this class, set the :attr:`media_type` attribute,

View File

@ -16,9 +16,6 @@ from rest_framework.settings import api_settings
from rest_framework.utils.mediatypes import is_form_media_type from rest_framework.utils.mediatypes import is_form_media_type
__all__ = ('Request',)
class Empty(object): class Empty(object):
""" """
Placeholder for unset attributes. Placeholder for unset attributes.