Blog API with Django Rest Framework 17 of 33 - Comment Children & Reply Count

preview_player
Показать описание
Blog API with Django Rest Framework 17 of 33 - Comment Children & Reply Count

** Blog API with Django Rest Framework ** is a project to build a RESTful API service for the blog we created in Advancing the Blog and Try Django 1.9.

RESTful API services allow our applications to connect with other applications using JSON-formatted data. An strong API can enhance our applications ability to provide value to other services and end users. This type of API is very common in modern web application development.

Generally the topics will include:
- Django Project Setup
- Class Based Views (& some Function Based Views)
- Models, Model Forms, Forms, Form Validation
- Integrate Bootstrap front-end framework.
- Django Registration Redux for Authentication/Registration
- And More

We are Coding For Entrepreneurs [TeamCFE] and have built an entire library of content to help you master Django and other web technologies to launch real projects faster. Enroll today for as low as $20/month.

What Technology you'll learn in the Build a Django 1.8 Blog series:
-- Bootstrap (version 3.3): a powerful front-end framework used by thousands of sites around the world. Bootstrap makes it easier to have a responsive web application so it looks awesome on any mobile device and any desktop computer.

All of our tutorials have a simple goal in mind: get you building something real and quickly.
Рекомендации по теме
Комментарии
Автор

1.How to get Level number for child comment.

And

2.how to know last child comments from 1st parent comment. case is muti level nested child Comment .
and
3. Mutil level Nested comments to know level of child and count of child at particular level..

4. Multi level nested comments based particular child level to get back all before child parent comments..

. Can You please solution for my query...

dgiri
Автор

if anyone has @propery on there def children function in models
you will get an error "queryset object not callable Django"
remove property and replies can be returned in commentdetailserialzer class

chetty
Автор

TypeError at /api/comments/
<Post: some title 4> is not JSON serializable,
I'm getting this error after finishing up to 3:24 in your video.

ruhshan
Автор

'bool' object is not callable
why this error?

prakharsaxena
Автор

What if the child comment has another child comment?

shihengdeng