unknown
hey can anyone help me with my first Django project.. i added css to in my project but its not appearing whn i run the server. in local host
unknown
nd the css was replaced by smthng else css
unknown
can anyone help me
unknown
plzz
unknown
nope. i got my prblm solved.. nd tq for replying
Yevgeny
Hi, How I can use add another button(inlines) via rest api? Thanks
Pradip
Thx
Anonymous
Organization of code related to specific HTTP methods (GET, POST, etc.) can be addressed by separate methods instead of conditional branching. What does this word mean? conditional branching
Mirco
Inside a class based view you can write the method def get(self, request) instead of doing if request.method == 'GET' like you are used to do inside function based views
Mirco
The same for others HTTP methods
Дауран
Hello , how make function like and dislike like on YouTube
Anonymous
Hello , how make function like and dislike like on YouTube
First you have to create a bridge model (many to many relationship between user and video) create two buttons for likes and dislike when user press on like or dislike button ajax call to server and server will store it in bridge model.
Jose Luis
can someone please recommend me some advanced django book?
Anonymous
I need Django to Retrieve news from RSS automatically
Jose Luis
i already own two scoops of django
Jose Luis
maybe will re read it :/
zuzuzuzu
Add {%load static%}, i hope you have initialized static in setting.py in the directory
George
Did you link static files in your code?
zuzuzuzu
I am just answering to the problem bro.
zuzuzuzu
I dont have the issue
George
well, where is the user that asked that question?
Doragonsureiyā
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
zuzuzuzu
Not my query bro.
zuzuzuzu
Just helping
zuzuzuzu
Anyone up to build some projects with django..
zuzuzuzu
Looking for a teammate. Should be good at frontends.. I lack that because :3
Doragonsureiyā
Looking for a teammate. Should be good at frontends.. I lack that because :3
Your question is not related to Django. Please move to @PythonOfftopic group and ask there.
John
Please can anyone recommend a django ecommerce platform and maybe why it's a good choice.
John
I tried django-shop and I encountered a lot of errors
John
Saleor
Thanks, any reason why it's a better choice.
Mirco
Thanks, any reason why it's a better choice.
Because it's one of the most modern and beautiful open source project about e-commerce It uses GraphQL instead of REST, the storefront is built with React and API are server by Django
Mirco
The code is well documented and organized
Doragonsureiyā
Thanks a lot.
You're welcome! 😊
Mirco
But alot of dependencies make it harder for many platform
It's a choice based on the tools Saleor use If you have a team or you are good enough with Django, GraphQL and React is the currently best choice imho
Mirco
But alot of dependencies make it harder for many platform
If you start trying django-shop etc etc you will realize you will have much more dependencies than a solution like Saleor
L
Hello everyone! What do you guys understand by "dooble" field? I have the folowing indications and can't quiet get what Kind of field I'm required. The first one is clearly a Boolean Field, but I'm clueless about the second one:
L
Fields: 1) dogs_allowed (bool) 2) base_price (dooble)
Mirco
Fields: 1) dogs_allowed (bool) 2) base_price (dooble)
It's double not dooble Base price can be represented by DecimalField
L
Yep! That's what I thought. Thanks mann
Doragonsureiyā
Null
New member? then you've been muted for 5 minutes to read the rules properly before doing anything, please don't PM anyone asking why you were muted! By joining this group, you agree with the Django Code of Conduct Here are some resources to start with Django
Shax
Hi guys
Shax
Is there anybody who can help with python django tutorial complete course 2020 video?
Doragonsureiyā
Is there anybody who can help with python django tutorial complete course 2020 video?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Doragonsureiyā
I was recommending the video plz
Why? Seriously... Why? 🤔
Shax
Why? Seriously... Why? 🤔
Coz am looking for video tutorials 😎
Doragonsureiyā
Coz am looking for video tutorials 😎
Why? Seriously... Why? 🤔
Mirco
I was recommending the video plz
check TestDriven courses
The
My django project has 3 apps. I need some auth token which would be used in all there apps. To get that auth token, i wrote a python function. My question is, where should I keep that code so that it would automatically get executed and auth token would be generated.
The
Its Authorization token which i need to mention in post api call header
Anonymous
Like JWT?
The
Like JWT?
Don't know that Seems like i am unable to explain what I need
The
I just want to know where to keep code that would generate some token which would be required for all 3 apps in project.
Sadra
I just want to know where to keep code that would generate some token which would be required for all 3 apps in project.
Hey, You can create a task.py file and link it to your scripts relatively. In the next step, you can dive to Async Token Generation. Most often developers keep the tasks file in the main application.
.
How much time will it take to learn Django I am following Dennis ivy's tutorials
Ilya
How much time will it take to learn Django I am following Dennis ivy's tutorials
totally depends on you) how much time you are going to spend to studying?
Sadra
How much time will it take to learn Django I am following Dennis ivy's tutorials
Really depends. Depends on the time that you spend in learning, what's more, never forget to train what you've learned. Just keep going. :) GL
.
Thanks👍
Ilya
2/3 hours per day?
stop thinking about time, just learn)