Search code examples
djangocookiecutter-django

Is there a command for creating an app using cookiecutter-django?


Once a Django project has been created using cookiecutter-django, is there a command like python manage.py startapp <app_name> to run instead of writing the new app from scratch?


Solution

  • Cookiecutter Django renders a Django project, and included with the files is a manage.py module. If you have Django installed, you can just call python manage.py startapp <app_name> and it should just work.