aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/templates
AgeCommit message (Collapse)Author
2014-12-23Remove ‘/‘ from inside variable block {{ }}Andrew Seier
manage.py compress —force causes a warning here.
2014-12-23Remove commented code (warning during compression)Andrew Seier
manage.py compress —force causes a warning here.
2014-12-09Add allow_blank for ChoiceField #2184José Padilla
This makes a ChoiceField optional in HTML if model field has `blank=True` set.
2014-12-08Ported a couple of templates to Bootstrap 3.x.Loic Bistuer
2014-11-25Style tweaks to login template.Tom Christie
2014-11-25Merge branch 'master' of https://github.com/tomchristie/django-rest-frameworkTom Christie
2014-11-25Lowercase HTML label tag. Refs #2121.Tom Christie
2014-11-21removed the whole footer sectionAndreas Bernacca
2014-11-21remove sponsored by dabappsAndreas Bernacca
2014-11-20Resolve PUT and POST buttons in browsable APITom Christie
2014-11-20Add --- null option for selects. Closes #2096.Tom Christie
2014-11-18List serializer no explicitly renders as 'not supported for HTML input'Tom Christie
2014-11-17Remove class='form-control' for file inputs. Closes #2065.Tom Christie
2014-11-07Fix up fieldset templates. Closes #2039Tom Christie
2014-10-31Merge masterTom Christie
2014-10-31Update to bootstrap 3. Closes #1085Tom Christie
2014-10-15Moar form stylingTom Christie
2014-10-15Moar form stylingTom Christie
2014-10-15Reorganize to use template_pack in form renderingTom Christie
2014-10-15Drop template includesTom Christie
2014-10-09Use BoundField .name on fieldsTom Christie
2014-10-09First pass on nested serializers in HTMLTom Christie
2014-10-02First pass on incorperating the form rendering into the browsable APITom Christie
2014-10-01More forms supportTom Christie
2014-10-01First pass at HTML form renderingTom Christie
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