Support Our Site

To ensure we can continue delivering content and maintaining a free platform for all users, we kindly request that you disable your adblocker. Your contribution greatly supports our site's growth and development.

Category: Django

  • DJANGO

    Making Django Admin Jazzy With django-jazzmin

    Django admin is undoubtedly one of the most useful apps of Django. Over the years there has been very little change in the admin app as far as the UX is concerned and it's not a bad thing at all. Django admin was designed to provide a simple and minimali…
    Read more →

    4 min read

  • DJANGO

    We finally switched from WordPress to Django

    With great pleasure, I will like to announce that djangocentral is now powered by Django, and I couldn't be more satisfied with the results. I was intending to do this switch for a very long time, but I was always busy with other things.But before someon…
    Read more →

    11 min read

  • DJANGO

    Creating Custom Model Validation In Django

    In this tutorial, we will learn how to create custom model validators using Django.Understanding The ProblemDjango models come with their own built-in validations, that we put while creating models. However, often we require further validations on some f…
    Read more →

    3 min read

  • DJANGO

    Displaying Custom Validation Exception in Django Admin

    In this tutorial, we will learn how to show custom validation exceptions on Django admin.Understanding The ProblemDjango admin site will raise exceptions when we try to save objects with non-acceptable values. Often we need to create our custom validator…
    Read more →

    2 min read

  • DJANGO

    Django Admin Making Model Fields Required

    In this tutorial, we will learn how to make optional model fields required in Django admin to make sure that data for these fields are populated on the creation of new records from the Django admin interface. Understanding the ProblemSuppose you are work…
    Read more →

    2 min read

  • DJANGO

    Django + AJAX : How to use AJAX in Django Templates

    AJAX or Asynchronous JavaScript And XML is a set of web development techniques using web technologies on the client-side to create asynchronous web requests.In simpler words, AJAX allows web pages to be updated asynchronously by exchanging data with a we…
    Read more →

    7 min read

  • DJANGO

    How To Upload Images With Django

    One of the most common requirement in any modern web application is the ability to take images or pictures from the users as input and save them on the server however Letting users upload files can have big security implications.Django, a powerful and po…
    Read more →

    3 min read

  • DJANGO

    How to use environment variables in Django

    While working with web applications often we need to store sensitive data for authentication of different modules such as database credentials and API keys. These sensitive keys should not be hardcoded in the settings.py file instead they should be loade…
    Read more →

    2 min read

  • DJANGO

    Adding Custom Model Managers In Django

    A manager is an interface through which database query operations are provided to Django models. At least one Manager exists for every model in a Django application, objects is the default manager of every model that retrieves all objects in the database…
    Read more →

    2 min read

  • DJANGO

    Creating Feeds with Django

    Django ships with built-in syndication feed generating framework, which is used to generate dynamic Atom and RSS feeds.RSS is an abbreviation for Really Simple Syndication, it's a way to have information delivered to you instead of you having to go find …
    Read more →

    3 min read