Skip to content

rg3915/django-fbv-cbv-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-fbv-cbv-example

Example using FBV and CBV in Django.

Como rodar o projeto?

  • Clone esse repositório.
  • Crie um virtualenv com Python 3.
  • Ative o virtualenv.
  • Instale as dependências.
  • Rode as migrações.
git clone https://github.com/rg3915/django-fbv-cbv-example.git
cd django-fbv-cbv-example
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python manage.py migrate

Para inserir dados no banco digite

python manage.py shell < create_data.py

Links

https://simpleisbetterthancomplex.com/article/2017/03/21/class-based-views-vs-function-based-views.html

https://simpleisbetterthancomplex.com/series/2017/10/09/a-complete-beginners-guide-to-django-part-6.html

https://godjango.com/blog/5-reasons-to-use-class-based-views/

https://docs.djangoproject.com/en/2.0/ref/class-based-views/flattened-index/

https://docs.djangoproject.com/en/2.0/ref/class-based-views/

http://ccbv.co.uk/

https://tutorial.djangogirls.org/pt/django_forms/

https://godjango.com/15-class-based-views-part-1-templateview-and-redirectview/

http://www.mastercode.online/tutorials/language/tutorial_series/tutorial/how-to-django-blog-application-how-to-edit-post-in-django/

https://github.com/rayed/django_crud/blob/master/books_fbv/views.py

http://www.mastercode.online/tutorials/language/tutorial_series/tutorial/how-to-django-blog-application-class-based-list-views-vs-function-based-list-views/

http://www.mastercode.online/tutorials/language/tutorial_series/tutorial/how-to-django-blog-application-class-based-detail-views-vs-function-based-detail-views/

https://godjango.com/143-django-111-djangocontribauth-class-based-views-part-1/

Livros

http://www2.informatik.uni-freiburg.de/~cziegler/BX/

About

Example using FBV and CBV in Django.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published