diff options
| author | markotibold | 2011-06-26 01:38:56 +0200 | 
|---|---|---|
| committer | markotibold | 2011-06-26 01:38:56 +0200 | 
| commit | 8cab127c2a99ab027e981f3e9198b7c548f0aa46 (patch) | |
| tree | 15cd8e640de25af828c0634e71b99242e4dfe7d5 /examples/permissionsexample/views.py | |
| parent | 9be3d38aa02ff2a64adc9cab60db05f37cbfe476 (diff) | |
| download | django-rest-framework-8cab127c2a99ab027e981f3e9198b7c548f0aa46.tar.bz2 | |
some restyling and updated requirements.txt for yaml support
Diffstat (limited to 'examples/permissionsexample/views.py')
| -rw-r--r-- | examples/permissionsexample/views.py | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/examples/permissionsexample/views.py b/examples/permissionsexample/views.py index ca456191..f95c2c84 100644 --- a/examples/permissionsexample/views.py +++ b/examples/permissionsexample/views.py @@ -29,8 +29,10 @@ class ThrottlingExampleView(View):          """          return "Successful response to GET request because throttle is not yet active." -class LoggedinView(View): -     +class LoggedInExampleView(View): +    """ +    You can login with **'test', 'test'.**  +    """      permissions = (IsAuthenticated, )      def get(self, request):          return 'Logged in or not?'
\ No newline at end of file | 
