Graphene has a ton of flexibility in how you can work and pass data. This video explores that flexibility.
- [Instructor] In this video…we'll be building custom objects,…specifically we'll be learning…how to build custom object types…without the DjangoObjectType.…We'll also learn how to use resolvers…to build our custom types…and then how to build resolvers around our custom types…to get information back out of the system.…In the pervious videos, I had mentioned…that types work kind of like Python classes and objects…where you have to assign a certain number of attributes…that are statically typed to the object.…These are the different types…that Graphene provides natively.…
These types can be used to build those attributes…on our object or our type,…depending on what you're building.…We have Enums, which work just like Python's built-in enums.…We have the NonNull and List wrapper.…These two types wrap around another type,…kind of like a function or a decorator,…and provide extra functionality to that type.…NonNull tells Graphene that this type can't be empty…whereas List tells Graphene…that we're going to return a list of another type.…
- Extending class-based views
- Building a REST API
- Working with GraphQL
- Building a basic schema
- Optimizing your environment
- Working with Pipenv
- How Django handles testing
- Securing the Django admin
Skill Level Advanced
1. Advanced Class-Based Views
2. Building a REST API
Authentication with DRF6m 14s
3. GraphQL: An Alternative API
4. Optimizing Your Environment
5. Tests, Tests, Tests
6. Securing Django
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.