Doragonsureiyā
Pls any good resources to start learning Django fast and easy
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Doragonsureiyā
🚫 ‎Zain [7127399211] is already banned.
Habib
In you include another template into the current template. The data inside the context of included template will be displayed OK
Actually I had included the user_profile template in other templates but the data won't show But then I discovered context_processors So I created one -- it is working Thanku
Lysenko
I am looking for a common way to display the shopping cart list in my online shop The problem is when I display this way, some items that have been removed are displayed several times, and I just want the number to appear. Django code
The issue you're experiencing likely arises because the Order objects related to a single Cart might not be properly filtered or aggregated, especially if items have been removed or if there are duplicate entries for the same product. To display the cart items correctly, you can modify the get_context_data method to aggregate the orders by product and count the quantity of each product in the cart. If you want, plz dm me.
Apple
Hey hi Can anybody explain where we have to start to learn django
Doragonsureiyā
Hey hi Can anybody explain where we have to start to learn django
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Apple
Anyroad map
Apple
Can anybody suggest
Abdaal
Anyone have a documentation tutorial of Ecommerce website?
Maxim
Anyroad map
1. Python 2. Django
Apple
Ya I have completed python
Apple
1. Python 2. Django
Need road map for django where to start that
Charly
Need road map for django where to start that
No roadmap just learn it, start with the official tutorial then make projects filling the gapes
.
Any YouTube channels
The Net Ninja. But the best start is the official tutorial.
Charly
Any YouTube channels
No, the official tutorial
Apple
Official tutorial means that documentaion
Charly
Official tutorial means that documentaion
yes the documentation has the official tutorial
Doragonsureiyā
This is not a Django specific question, please delete your offtopic message. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Apple
yes the documentation has the official tutorial
Yap it is confusing where to start the documentation
Charly
Yap it is confusing where to start the documentation
Startin the oficial tutorial it is for begginners and asume you never worked with it
Apple
Can you please provide link for that
Charly
Can you please provide link for that
One super important to skill for being a developer is to search and read, have you done that before asking for the link?
Apple
One super important to skill for being a developer is to search and read, have you done that before asking for the link?
Ya research for that in Google chatgpt YouTube different people telling different things
Apple
Ya it is theory and not understand where to start
Charly
Ya it is theory and not understand where to start
Google: Django documentation, first link
Apple
Ya
Charly
Ya it is theory and not understand where to start
You wont find it with youtube or ChatGPT, i reecomend you stop you using these now that you are a beginner and is not used to read documentation
Charly
Ya
So you got it 👍
Apple
There are so many sections in it
Apple
Documentation
cj
Charly
There are so many sections in it
First steps, read it, dont be lazy, it is just a couple lines
Charly
Then
Exactly as I told you how to find the documentation
Apple
Ya got the documentation
Apple
Yap got it
Charly
Apple
Thanks for that
Charly
See how benefical is to read!
Apple
After completing that how can we do projects
Charly
After completing that how can we do projects
The tutorial teaches you how to make a proyect
Apple
I have the knowledge on html css js done some projects
cj
After completing that how can we do projects
why don't you start reading it?
Apple
I am using this for ml project
Charly
I am using this for ml project
you are not ready to use ML
Apple
When can it integrate with ml algorithms
Charly
When can it integrate with ml algorithms
When you get used to read documentation yourself
Charly
and after completing the tutorial and practicing
Apple
Ok
Apple
Is that good to use for that project
Charly
Is that good to use for that project
we dont know any details so we can't give any opinion
Charly
for now, focus on learning the basics of django
Charly
or python if you don't already know python
Apple
I have researched that django is better than flask
Apple
They have their
Charly
Both are better
If both are better no one is better.
Charly
They have their
Same wih flask and django
Apple
Oo ok
Apple
Gained so much knowledge
Apple
With that
Apple
This is for btech project developed an ml algorithm restaurant reviews analysis using random forest which gives good accuracy for that my team working on to develop we application for that to deploy
Apple
This is an
Apple
College placement project
Apple
Thanks for sharing ur knowledge and experience
Habib
Hey there I have a question I created this registration form and in templates for each field did this {{form.field_name.errors}} And it was working great I could see each field related errors But still it requires a reload ...I know I will require Ajax But the question is won't that require me to convert my view to Return JsonResponse and also How can I display field errors new
Habib
Thank you. And in my scenario which would have minimal effort
I mean till now I was using normal forms in templates and views return render etc Django messages to display messages and form.fieldname.errors for field errors
🌺
can i send github repo link here ?
🌺
https://github.com/gitxro/django-templating/blob/d8313cb16de84e17ad00ae73740857ded3448df9/tests/test_home.py#L15 this is demo repo with all the requirements assertTemplateUsed is not working for jinja templates why ? output https://telegra.ph/file/9fc1b1ac2c84dcf07cd83.png
BinuRice
Django how to make keyword research ?seo