Build a Blog REST API with Django REST Framework
Building a REST API with Django and Dango Rest Framework is so super easy. In this tutorial, we’ll walk through the steps to get your first API up and running. … Read More
Building a REST API with Django and Dango Rest Framework is so super easy. In this tutorial, we’ll walk through the steps to get your first API up and running. … Read More
Since version 3.3, Python has come with the venv library, which provides support for creating lightweight virtual environments. Each virtual environment has its own Python binary and can have its … Read More
What is a sitemap? Django comes with a sitemap framework, which allows you to generate sitemaps for your site dynamically. A sitemap is an XML file that tells search engines … Read More
One of the most powerful parts of Django is the automatic admin interface. It reads metadata from your models to provide a quick, model-centric interface where trusted users can manage … Read More
Open console using. python manage.py shell then use following script in shell from django.contrib.auth.models import User User.objects.filter(is_superuser=True) will list you all super users on the system. if you recognise your … Read More
Django comes with a built-in administration interface that is very useful for editing content. The Django admin site is built dynamically by reading your model metadata and providing a production-ready … Read More
If you have already installed Django, you can skip and jump directly to Creating your first project. If you haven’t installed Django yet, here is a quick guide to … Read More