Skip to content

A new app command #105

@meschac38700

Description

@meschac38700

Add a new command to initialize a new application

python src/manage.py startapp [app_name]

This is supposed to create a new package in the src/apps/ directory and configure the minimum requirements for a valid application.

Example
src/
   apps/
      blog/
         models/
            __init__.py
         statics/
            blog/
               ...
         templates/
            blog/
               ...
         routers/
            __init__.py
Or perhaps a modular approach(for routers and models) which will allow us to add some initial code.
src/
   apps/
      blog/
         models.py
         statics/
            blog/
               ...
         templates/
            blog/
               ...
         routers.py

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions