Opened 3 years ago

Last modified 3 years ago

#33467 closed New feature

Small Framework to create a Demo-System — at Initial Version

Reported by: Thomas Güttler Owned by: nobody
Component: Core (Other) Version: 4.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

If Django would provide a small framework how to create demo-system, this would helpfull:

  • Developers would waste less time creating fundamental data-structures, just to be able to use a view in the development system
  • It would it make easier to unboard a new django developer in a company, since he/she would be familiar with it
  • Less teams would copy the production-DB into the development-DB.

There are several ways how to get there here is one idea:

The AppConfig class can provide a method called create_demo_data(). This implements
the creation process. It is up to the developer to implement it (if he wants to).

There is a new management command which calls all AppConfigs.

Of course there are some details not solved yet. For example: how to handle the case where
App2 depends on data of App1.

Would you accept a pull-request?

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top