Code Monkey home page Code Monkey logo

igtiflix's Introduction

Django-igti

Repositório para a primeira aula interativa - IGTI - com o framework Django

Roteiro utilizado na aula:

  • Criar módulo serie python manage.py startapp serie
  • Adicionar módulo 'serie' no settings do projeto principal
  • Registrar URL no projeto principal
  • Criar arquivo serie/urls.py e redirecionar para view
  • Criar método para cadastrar
  • Testar nova rota com o 'hello world!'
  • Criar template para o módulo 'serie'
  • Testar view módulo 'serie'
  • Alterar menu.html
  • Criar Model 'serie'
  • Registrar Model 'serie' no serie/admin.py
  • Criar a migration python manage.py makemigrations serie
  • Executar a migration python manage.py migrate
  • Criar Form 'serie'
  • Alterar o serie.html e testar o projeto
  • Alterar o método cadastrar da view para renderizar o form e os dados
  • Criar método para deletar
  • Registrar url para deletar
  • Criar página update.html
  • Criar método para update
  • Registrar url para update

igtiflix's People

Contributors

mellowill36 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.