aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/templates
AgeCommit message (Collapse)Author
2014-09-26[templates/rest_framework/base.html] Separate `object-form' and ↵Anton D. Kachalov
`generic-content-form' IDs for POST and PUT forms Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2014-09-05Merge pull request #1829 from cezar77/login-form-errorsTom Christie
Display validation errors on login form
2014-09-05Remove light gray bordering from the well with general message errorCezar Pendarovski
2014-09-05Place general error message in wellCezar Pendarovski
2014-09-05Change bootstrap class warning to errorCezar Pendarovski
2014-09-05Input fields get hightlighted if login fails and username is persistedCezar Pendarovski
2014-09-04General message error goes above submit buttonCezar Pendarovski
2014-09-04Error messages are displayed below the input fieldsCezar Pendarovski
2014-09-04Display validation errors on login formCezar Pendarovski
2014-09-03Moved li tags inside `optional_login`Carlton Gibson
as per https://github.com/tomchristie/django-rest-framework/pull/1820#discussion_r16987993
2014-09-02Remove Login Dropdown when Auth Views are not registered.Carlton Gibson
Fixes #1738
2014-08-30Restore body block to base template.Daniel Roseman
2014-08-28Validation errors in the rendered HTML fixedCezar Pendarovski
2014-08-27Put all TextNodes (method names) back to same line with parent elementCezar Pendarovski
2014-08-25Merge remote-tracking branch 'upstream/master' into fix-1719Cezar Pendarovski
Conflicts: rest_framework/templates/rest_framework/base.html
2014-08-22Fixed the issue with the non-draggable horizontal scrollbarCezar Pendarovski
2014-08-19Merge masterTom Christie
2014-08-18Merge pull request #1641 from javins/login-titleTom Christie
Refactor login template to extend base.
2014-08-05Remove duplicate class attributesJason Alan Palmer
These duplicate attributes are ignored by at least Firefox and Chrome, so this change has no effect on the style
2014-06-13Refactor login template to extend base.Walt Javins
While experimenting with extending DRF, I found that the login page 1) had no title, and 2) duplicated <head> info from base.html. This change adds a new {% block body %} to the base.html template which allows override of the entire html <body>. login_base.html has its duplicated head info stripped, and now extends base.html to share common html <head> templating. As part of this change, pretify.css is unnecessarily added to login_base.html. If this is deemed a problem, it will be easy to block that css out, and have login_base.html override the block. Ideally, I would have liked to create a new api_base.html that extends base.html, move the api specific logic into that template, and leave base.html content agnostic, to truely be a unifying base for all DRF pages. But this change would break current apps that override api.html and expect base.html to be the immediate super template. :/ This change is benificial because it: - removes duplication of header declarations (mostly css includes) - adds a html title to the login page - standardizes html header info across all DRF pages Docs are updated to reflect the new structure.
2014-04-13Merge remote-tracking branch 'origin/master' into 2.4.0Xavier Ordoquy
Conflicts: .travis.yml docs/api-guide/fields.md docs/api-guide/routers.md docs/topics/release-notes.md rest_framework/authentication.py rest_framework/serializers.py rest_framework/templatetags/rest_framework.py rest_framework/tests/test_authentication.py rest_framework/tests/test_filters.py rest_framework/tests/test_hyperlinkedserializers.py rest_framework/tests/test_serializer.py rest_framework/tests/test_testing.py rest_framework/utils/encoders.py tox.ini
2014-02-26Display the media type of the API response on the browsable APIKeats
2014-01-08Use www.django-rest-framework.org for docs instead of ↵Tom Christie
django-rest-framework.org due to issues with naked domains
2014-01-06Added "nofollow" against docs link.Tom Christie
2013-12-13Merge branch 'master' into 2.4.0Tom Christie
Conflicts: .travis.yml docs/api-guide/routers.md docs/topics/release-notes.md rest_framework/compat.py
2013-10-24Removed commented-out credits from footer to make django-debug-toolbar work.Jakub Roztočil
The comment, although valid, caused that the Django debug toolbar's injected HTML was partially commented-out and thus the toolbar didn't work as expected.
2013-10-16Allow to customize description so that markup can be accepted if needed.Omer Katz
2013-10-02Fix rendering of forms and add error rendering on HTML formTom Christie
2013-10-02Serializers can now be rendered directly to HTMLTom Christie
2013-09-25Drop 1.3 supportTom Christie
2013-09-14Refs #1109 -- Update docs. Integrate changes from feedback.Tai Lee
2013-09-13Fixed #1105 -- Add hook for custom context in `BrowsableAPIRenderer`.Tai Lee
Replace hard coded response status check with `allow_form` context variable, so that it can be overridden in a custom renderer class.
2013-08-29Fix tab preferences on PUT formsTom Christie
2013-08-29Preserve tab preference in cookies.Tom Christie
2013-08-23First pass at HTMLFormRendererTom Christie
2013-08-12Fix PATCH button title in templateYuri Prezument
2013-05-21Merge and styling fixesTom Christie
2013-05-18Initial commit of fix for ↵Mark McArdle
https://github.com/tomchristie/django-rest-framework/issues/775
2013-05-13Remove trailing unmatched </div> in login_base.html template. Reformat ↵James Summerfield
indentation and label all closing tags for consistency.
2013-04-17extend base login templateforgingdestiny
2013-04-17add branding and style blocksforgingdestiny
2013-04-04Added break_long_headers on templatetags and base templateglic3rinu
2013-02-22Polishing touches to #663Tom Christie
2013-02-20Minimal forms appearance improvementsMichael Elovskikh
2013-02-15Added tabs between object form and generic content form on POST formMichael Elovskikh
2013-02-15POST form using new form.html templateMichael Elovskikh
2013-02-15Added tabs between object form and generic content form on PUT/PATCH formMichael Elovskikh
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
2013-02-06Fix mismatch between template blocks and docs.Tom Christie
Fixes #639.
2013-01-28Login page styles fix. Closes #618. Made with :cookie:Michael Elovskikh
2013-01-15correcting template: closing tag was missingJohannes Spielmann