diff options
| author | Tom Christie | 2011-07-22 04:03:04 -0700 |
|---|---|---|
| committer | Tom Christie | 2011-07-22 04:03:04 -0700 |
| commit | 746b817ad34af712d362539583bfdbcf5b84adc1 (patch) | |
| tree | 887024838878abbd3c5f9d8043a271cd3e86c1fd /djangorestframework/views.py | |
| parent | 524954b2460bf8d461688400fd68598a57adca5f (diff) | |
| download | django-rest-framework-746b817ad34af712d362539583bfdbcf5b84adc1.tar.bz2 | |
Whitespace tweaks
Diffstat (limited to 'djangorestframework/views.py')
| -rw-r--r-- | djangorestframework/views.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/djangorestframework/views.py b/djangorestframework/views.py index 860e2bb8..5f8e84cd 100644 --- a/djangorestframework/views.py +++ b/djangorestframework/views.py @@ -160,17 +160,25 @@ class View(ResourceMixin, RequestMixin, ResponseMixin, AuthMixin, DjangoView): class ModelView(View): - """A RESTful view that maps to a model in the database.""" + """ + A RESTful view that maps to a model in the database. + """ resource = resources.ModelResource class InstanceModelView(InstanceMixin, ReadModelMixin, UpdateModelMixin, DeleteModelMixin, ModelView): - """A view which provides default operations for read/update/delete against a model instance.""" + """ + A view which provides default operations for read/update/delete against a model instance. + """ _suffix = 'Instance' class ListModelView(ListModelMixin, ModelView): - """A view which provides default operations for list, against a model in the database.""" + """ + A view which provides default operations for list, against a model in the database. + """ _suffix = 'List' class ListOrCreateModelView(ListModelMixin, CreateModelMixin, ModelView): - """A view which provides default operations for list and create, against a model in the database.""" + """ + A view which provides default operations for list and create, against a model in the database. + """ _suffix = 'List' |
