Skip to content

Django

In this article

Information

Django is a high-level Python web framework designed for rapid development of web applications. The framework follows the "batteries included" principle, providing a wide range of built-in tools and components. Django is widely used for creating various web projects, from small websites to large-scale applications with high security and performance requirements.

Django. Key Features

  • ORM (Object-Relational Mapping) - allows working with databases using Python's object-oriented approach. Supports major DBMS: PostgreSQL, MySQL, SQLite, and Oracle. Provides the ability to create complex queries without directly using SQL.
  • Admin Interface - automatically generated admin panel with customization and functionality expansion options. Provides quick access to managing application data.
  • URL Routing - flexible system for defining the project's URL structure. Supports named URLs and reverse address resolution.
  • Template System - a powerful tool for creating dynamic HTML pages. Includes support for template inheritance and inclusions.
  • Forms - simplifies the process of creating and processing web forms. Provides built-in data validation and HTML form markup generation.
  • Authentication and Authorization - built-in system for managing users and access rights. Supports session work, registration, and password recovery.
  • Caching - various caching mechanisms for performance optimization.
  • Internationalization - ensures multilingual support in applications. Provides tools for localizing content.

Build Features

  • Supported operating system: Ubuntu 22.04 and Debian 12.
  • Pre-installed dependencies:
    • Python 3
    • python3-pip (Python package manager)
    • python3-venv (tool for creating isolated Python environments)
  • Additional dependencies for installation:
    • libpq-dev (for working with PostgreSQL)
    • python3-pexpect
    • docker
    • docker-compose
  • Project working directory: /root/django_client/project.

After installation, you need to follow the link: https://django<Server_ID_from_Invapi>.hostkey.in/admin.

Getting Started After Django Deployment

After paying for the order, a notification will be sent to the email address specified during registration, informing you that the server is ready to work. It will include the VPS IP address, as well as the login and password for connection. Clients of our company manage the equipment through the server management panel and APIInvapi. Authentication data, which can be found in the Info >> Tags tab of the server management panel or in the email sent:

  • Link to access the Django administration panel with a web interface: in the webpanel tag;
  • Login: root;
  • Password: comes in the email sent to you upon server delivery.

After successful authorization in the Django administration panel, it is recommended to change the administrator's password. To do this, click the CHANGE PASSWORD button:

In the opened menu, enter the current password and the new password twice. Then click the CHANGE MY PASSWORD button:

Note

Detailed information on basic Django settings can be found in the developer documentation.

Ordering Django via API

To install this software using the API, follow these instructions.