Posts Tagged ‘startapp’

[django] complete the initialization of an app.

August 4, 2014 Leave a comment

I wrote a simple script called that completes the initialization of a Django application.

You create a new app. like this:

./ startapp APP_NAME

However, the generated app. is far from complete. Put next to (in the same folder) and execute the following command:


Currently, it performs the following actions:

  • inside the app., create the folder static/APP_NAME
  • inside the app., create the folder templates/APP_NAME
  • inside the app., create a sample file