Thursday, November 30, 2017

Django Learn Series | Creating a Django App


  1. cd Desktop/DjangoPractice/firstdjango
  2. python manage.py startapp firstapp
  3. Files inside firstapp folder are below
    1. models.py -- DB interaction
    2. admin.py -- admin interface
    3. views.py -- App's logic and URL request / response
    4. tests.py -- Automated tests 
    5. migrations folder -- auto generated. Migration files about DB tables changes for the app




If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged

No comments:
Write comments