curso_django's People
curso_django's Issues
Atributo "user" faltando
@pericles-jr, está faltando o atributo para "user" em seu modelo.
curso_django/projeto_x/core/models.py
Line 15 in a174e3f
PEP8: Ajuste no nome
Para seguir o Use _
em vez de camel case para esses valores. O resultado será um novo atributo com esse nome.
Veja essa regra:
https://www.python.org/dev/peps/pep-0008/#function-and-variable-names
curso_django/projeto_x/core/models.py
Line 85 in a174e3f
curso_django/projeto_x/core/models.py
Line 86 in a174e3f
Esse problema também ocorre nesse trecho, no entanto, o problema pode ser maior
curso_django/projeto_x/core/models.py
Line 114 in a174e3f
Relação O2O
Há problemas nesses pontos com o tipo de relação. Para você identificar o problema, crie um objeto de Shop
, por exemplo, e depois tente criar mais de um objeto de ShoppingList
ou mesmo Product
. Além desses, há outras relações com problema.
curso_django/projeto_x/core/models.py
Line 65 in a174e3f
curso_django/projeto_x/core/models.py
Line 76 in a174e3f
curso_django/projeto_x/core/models.py
Line 95 in a174e3f
Resposta ao comentário
Definir se a compra foi concretizada, cancelada ou se ainda está comprando.
curso_django/projeto_x/core/models.py
Line 83 in a174e3f
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.