diff options
| author | Michael Elovskikh | 2013-02-15 14:41:12 +0600 | 
|---|---|---|
| committer | Michael Elovskikh | 2013-02-15 14:41:12 +0600 | 
| commit | 8fdf9250157cde2341ec9c86ead44b2ed1354aa2 (patch) | |
| tree | e4c6504712720b8168ac462d1ebb4feffdbd3304 /rest_framework/static | |
| parent | de029561d0cbb090c0d704811551b2d611472288 (diff) | |
| download | django-rest-framework-8fdf9250157cde2341ec9c86ead44b2ed1354aa2.tar.bz2 | |
Added tabs between object form and generic content form on PUT/PATCH form
Some extra behaviour to `BrowsableAPIRenderer` to handle PATCH form.
Added PATCH button on generic content PUT form.
Tabs between object form and generic content form on PUT/PATCH form wich are
both allways visible now.
Fix #570
Refs #591
Diffstat (limited to 'rest_framework/static')
| -rw-r--r-- | rest_framework/static/rest_framework/js/default.js | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/rest_framework/static/rest_framework/js/default.js b/rest_framework/static/rest_framework/js/default.js index ecaccc0f..bc5b0292 100644 --- a/rest_framework/static/rest_framework/js/default.js +++ b/rest_framework/static/rest_framework/js/default.js @@ -3,3 +3,5 @@ prettyPrint();  $('.js-tooltip').tooltip({      delay: 1000  }); + +$('#form-switcher a:first').tab('show');
\ No newline at end of file  | 
