Authors: Ediberto Ponce
Version: 1.0.0
PR: #1
- Add full CRUD functionality to your bag of tricks by building a Django project that allows Creating, Reading, Updating and Deleting.
- Typical Steps to Start Django Project
- create project
- define app
- add app to project
- add views
- add urlpatterns
- add templates
- add tests
- add model
- Test Snack pages
- NOTE make sure test extends TestCase instead of SimpleTestCase used in previous class.
- verify status code
- verify correct template use
- use url name instead of hard coded path
- Python
- Django
- HTML
- CSS
- Bootstrap
-
Estimate of time needed to complete: 3hrs
-
Start time: 1:00pm
-
Finish time: 6:30pm
-
Actual time needed to complete: 5 1/2hrs
Note: Had a tough time with styling. Still trying to learn how to use CSS with Django.