# Django Back-end

Django Back-end is used to:

* Store application related data, for example:
  * Queries, previous versions of queries, query results...
  * Stuff like folders to organize your cohorts
  * Favorite Queries, favorite Cohorts...
  * Manage user rights
* Provides a REST API
* Send queries to an execution backend and poll results continuously

{% hint style="warning" %}
The Cohort360 Django Back-end does not contain any patient data and does not intend to. Its only roles are to store application data and to interact with other APIs if needed.
{% endhint %}

## Technologies

[Django](https://www.djangoproject.com/) is the web framework that is used in addition to [Django Rest Framework](https://www.django-rest-framework.org/) to:

{% content-ref url="/pages/9RYVtZ7Dbm1JYEDEcKNu" %}
[Configuration](/technical-documentation/django-back-end/configuration.md)
{% endcontent-ref %}

{% content-ref url="/pages/pYfQ0LSN5BzQmDfT4aZ1" %}
[Query Server communication](/technical-documentation/django-back-end/query-server-communication.md)
{% endcontent-ref %}

{% content-ref url="/pages/H1Pz6DYRnQcsf4vS1RiD" %}
[Rights management](/technical-documentation/django-back-end/rights-management.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cohort360.org/technical-documentation/django-back-end.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
