Skip to content

rmotr-individual-assignments/wdd-write-first-views

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Writing your first views

In this assignment we will start playing with the Django Views Layer.

You will be practicing topics like:

  • Write URL rules to match your views
  • Handle GET and POST requests with proper params
  • Use Django view decorators to force certain pre conditions
  • Return both HTML and JSON responses
  • Handle HTTP status codes: 3xx, 4xx, etc

For better understanding of what's required to complete this assignment, we always recommend to take a detailed look at test cases. They are the best specification of all the use cases that need to be implemented.

How to start?

All you have to do is complete the views code in students_crud/students/views.py. Each view already provide a docstring with the explanation of what the view is supposed to do. Make sure all tests pass before pushing your changes.

About

Start working with Django Views

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published