Introduce DRF and start replacing the views.
authorRadek Czajka <rczajka@rczajka.pl>
Thu, 31 Jan 2019 19:56:07 +0000 (20:56 +0100)
committerRadek Czajka <rczajka@rczajka.pl>
Thu, 31 Jan 2019 19:56:07 +0000 (20:56 +0100)
commit5aa13410812d3fc4b35c039bdc3f0a2edc5185a1
treeb9fc1a350b27e0d00fc8a6935c574dbe9bcfd7a8
parent1123ad09c5b6b23721639c9a1454fd80999759ee
Introduce DRF and start replacing the views.
22 files changed:
requirements/requirements.txt
src/api/fields.py [new file with mode: 0644]
src/api/handlers.py
src/api/renderers.py [new file with mode: 0644]
src/api/templates/api/main.html
src/api/tests/res/responses/books-child.json
src/api/tests/res/responses/books-grandchild.json
src/api/tests/res/responses/books-parent.json
src/api/tests/res/responses/collection.json
src/api/tests/res/responses/collections.json
src/api/tests/tests.py
src/api/urls.py
src/catalogue/api/__init__.py [new file with mode: 0644]
src/catalogue/api/fields.py [new file with mode: 0644]
src/catalogue/api/serializers.py [new file with mode: 0644]
src/catalogue/api/urls.py [new file with mode: 0644]
src/catalogue/api/views.py [new file with mode: 0644]
src/catalogue/models/book.py
src/catalogue/models/bookmedia.py
src/catalogue/models/tag.py
src/wolnelektury/settings/apps.py
src/wolnelektury/settings/contrib.py