Django Central

Your number one source for all Django related news, tutorials and information. We're dedicated to providing you with the very best content, with an emphasis on community standards.

hero

Latest articles

Read the latest from djangocentral

  • DJANGO

    Capturing Query Parameters of request.get in Django

    In Django, the request object contains a variety of information about the current HTTP request, including the query parameters. Query parameters are a way to pass additional information in the URL and are used to filter or sort data. The request object p…
    Read more →

    2 min read

  • DJANGO

    Understanding related_name in Django Models

    In Django, related_name is an attribute that can be used to specify the name of the reverse relation from the related model back to the model that defines the relation. It is used to specify the name of the attribute that will be used to access the relat…
    Read more →

    2 min read

  • DJANGO

    How to Revert the Last Migration in Django

    In Django, migrations are used to manage changes to the database schema, such as creating or modifying tables. Sometimes, you may need to revert the last migration to undo changes that were made to the database.Here's how you can revert the last migratio…
    Read more →

    1 min read

  • PYTHON

    How to Iterate Over Rows in a Dataframe in Pandas

    Pandas is a powerful library for working with data in Python, and the DataFrame is one of its most widely used data structures. One common task when working with DataFrames is to iterate over the rows and perform some action on each row. Here are a few d…
    Read more →

    2 min read

  • PYTHON

    How to Check if a File Exists With Python

    Checking if a file exists is a common task in while working with files. There are several ways to check if a file exists without raising an unwanted exception, each with its own advantages and disadvantages. Here are a few different approaches. 1. Using …
    Read more →

    2 min read