Create a new app - WouterVdS/BosvogelWebPlatform GitHub Wiki

  • Create a new folder called apps/appname
  • python manage.py startapp appname apps/appname
  • Remove the tests.py file
  • Create a folder called tests with test_app.py and test_models.py
  • Create urls.py
  • Add app_name = 'appname' above urlpatterns... in urls.py
  • Add links to BosvogelWebPlatform/urls.py
  • Add the app to the settings
  • Create the models
  • Add them models to the admin
  • Create views
  • Link urls
  • Add tests
  • Add links to base.html