Solved: DisallowedHost – Invalid HTTP_HOST header

This error is related to “Installing Django and Django-REST Framework on ubuntu” , if you have Django … Read more

Developing first REST API using Django Rest Framework ( DRF )

This post is in continuation with our previous post “Installing Django and Django-REST Framework on Ubuntu for … Read more

How to set / change the timezone in Django ?

If you have followed to create your first django project “Starting webserver using your first simple Django … Read more

How to define different urlpatterns in view.py for Django

As we have seen in our previous post “Developing REST API using functions in DRF application views” … Read more

What is routers in Django REST Framework ?

As we have seen in our previous post “Developing REST API using functions in DRF application views” … Read more

How to add Model to Django admin dashboard

ui

By default when you login to admin dashboard, http://127.0.0.1:8000/admin/ you will only see “Authentication and Authorisation ” … Read more

Developing REST API using functions in DRF application views

This post is in continuation with our previous post “Developing first REST API using Django Rest Framework … Read more

Creating admin login credentials for Django

This post describes how you can create a user who can login to the django admin site. … Read more