It uses raw SQL queries exclusively
It uses an Object-Relational Mapping (ORM) system
It relies on third-party libraries for database interaction
It doesnt support databases
It includes a base CSS file
It extends the functionality of a Python module
It extends a base template to reuse its structure and blocks
It defines a new URL pattern
createsuperuser
makeadmin
addadmin
initadmin
It renders HTML templates
It redirects the user to a different URL
It handles form submissions
It is used for AJAX requests
Using the /* */ syntax
By wrapping text in triple curly braces {{{ }}}
Using the {# #} syntax
Comments are not allowed in Django templates
It is used for asynchronous programming
It provides tools for building Web APIs
It is a template engine for Django
It handles database migrations
It defines the root URL pattern for static files
It specifies the path to collect static files during deployment
It configures the location of the database file
It sets the expiration time for static files
To handle user authentication
To include third-party contributions and extensions
To define URL patterns
To create HTML templates
Manually update the database schema file
Automatically generate and apply migration files
Use raw SQL queries to update the database
Migrations are not supported in Django
To handle database migrations
To retrieve an object from the database or return a 404 error
To manage static files
To create a new user in the database
To restrict access to a view to authenticated users
It defines the database engine for session storage
It specifies the encryption algorithm for session data
It configures the expiration time for sessions
It determines the engine for template rendering
JSON
XML
YAML
Pickle
It defines URL patterns
It handles user authentication
It allows decoupled applications to get notified when certain actions occur elsewhere in the application
It manages static files
By manually adding it to the form HTML
It is included automatically, no action needed
By using the {% csrf_token %} template tag
By setting the csrf_token attribute in the form class
To provide an interface for querying databases
To ensure data consistency and integrity
migrate
update
syncdb
applymigrations
It adds various HTTP headers to responses
It processes requests and responses globally before reaching views
To pass additional data to all templates context
Using OneToOneField
Using ManyToManyField
Using ForeignKey
Using CharField