Skip to content

Python Django Rest Framework Bootcamp by Geek University from Udemy

Notifications You must be signed in to change notification settings

LondonComputadores/drf-bootcamp-geek-uni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drf-bootcamp-geek-uni

Python Django Rest Framework Bootcamp by Geek University from Udemy

This Bootcamp is intended to be a Recap for Django REST Framework where the topics are like:

  • Create simple and also customized CRUD
  • Utilize authentication
  • Utilize permissions
  • Utlize resquests limitations
  • Utlize pagination
  • Utilize API's test
  • and so on...

Console's input commands:

  • $ python3 -m venv venv
  • $ source venv/bin/activate
  • $ django-admin startproject escola .
  • $ django-admin startapp cursos
  • $ python manage.py runserver
  • $ python manage.py createsuperuser
  • $ python manage.py makemigrations
  • $ python manage.py migrate
  • $ pip install -r requirements.txt
  • $ python manage.py shell (
    • from rest_framework.renderers import JSONRenderer

    • from cursos.models import Curso

    • from cursos.serializers import CursoSerializers

    • curso = Curso.objects.latest('id')

    • curso

    • curso.titulo

    • serializer = CursoSerializer(curso)

    • serializer

    • type(serializer)

    • dir(serializer)

    • serializer.data

    • type(serializer.data)

    • JSONRenderer()render(serializer.data) )

About

Python Django Rest Framework Bootcamp by Geek University from Udemy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages