0% found this document useful (0 votes)
42 views

rg3915 - Django-Experience - Tutorial Django Experience 2022

This document summarizes a Django tutorial project on GitHub. The project was created with Python 3.10.4, Django 4.0.4, Django Rest Framework 3.12.4, Bootstrap 4.0 and htmx 1.6.1. It provides instructions for running the project by cloning the repository, creating a virtualenv, installing dependencies, and running migrations. The project contains step-by-step tutorials on building templates, REST APIs, and extending Django functionality.

Uploaded by

aylton_21
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

rg3915 - Django-Experience - Tutorial Django Experience 2022

This document summarizes a Django tutorial project on GitHub. The project was created with Python 3.10.4, Django 4.0.4, Django Rest Framework 3.12.4, Bootstrap 4.0 and htmx 1.6.1. It provides instructions for running the project by cloning the repository, creating a virtualenv, installing dependencies, and running migrations. The project contains step-by-step tutorials on building templates, REST APIs, and extending Django functionality.

Uploaded by

aylton_21
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

07/02/2023 09:50 rg3915/django-experience: Tutorial Django Experience 2022

rg3915 / django-experience Public

Tutorial Django Experience 2022

rg3915.github.io/django-experience/

173 stars 5 forks

Star Watch

Code Issues 1 Pull requests Actions Projects Security Insights

main

rg3915 … on Oct 22, 2022

View code

django-experience
Tutorial Django Experience 2022

Este projeto foi feito com:

Python 3.10.4
Django 4.0.4
Django Rest Framework 3.12.4
Bootstrap 4.0
htmx 1.6.1

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-experience.git


cd django-experience

https://github.com/rg3915/django-experience 1/2
07/02/2023 09:50 rg3915/django-experience: Tutorial Django Experience 2022

python -m venv .venv


source .venv/bin/activate
pip install -r requirements.txt
python contrib/env_gen.py
python manage.py migrate
python manage.py createsuperuser --username="admin" --email=""

Passo a passo
Leia https://rg3915.github.io/django-experience/ ou

README.md
Veja a pasta de passo-a-passo.

Features da aplicação

Renderização de templates na app todo .


API REST feita com Django puro na app video .
Django REST framework nas apps example , hotel , movie e school .
Salvando dados extra com perform_create
Dica: Reescrevendo o Admin do User
Editando mensagens de erro no DRF
Dica: Adicionando Grupos e Permissões

Environments 1

github-pages Failure

Languages

Python 90.3% HTML 9.3% Other 0.4%

https://github.com/rg3915/django-experience 2/2

You might also like