Knowledgebase

Understanding Django Print

  • backenddevelopment, backend, permissions, migration, security, guide, howto, solution
  • 0

The full framework.

WHAT IT PROVIDES

An ORM Migrations An administrative interface, generated from models Authentication and permissions Forms Templating Security protections by default

WHAT THE ADMINISTRATIVE INTERFACE PROVIDES

A working interface for managing data, with almost no code.

WHY THAT MATTERS

Internal tools that would otherwise take weeks are available immediately.

WHAT TO BE CAREFUL WITH

Exposing it publicly at its default address Granting broad permissions within it Treating it as a user-facing interface

WHAT THE STRUCTURE IS

Projects containing applications, each a self-contained area of functionality.

WHAT THE REQUEST FLOW IS

Address patterns to views, views to templates, with models providing data.

WHAT TO KEEP THIN

Views.

WHERE TO PUT LOGIC

Services, or model methods.

WHAT IT SUITS

Applications with substantial data models Anything needing an administrative interface Teams valuing convention

WHAT TO CONFIGURE FOR PRODUCTION

Debug disabled, allowed hosts set, secret key from the environment, static files collected.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot