Anonymous
i change debug false —-> not work media file why? why not work image in file media ((upload user)) settings.py my Desktop —> windows 10
Anonymous
Oh, wait
Fox
Oh, wait
I found out that we can add extra context to the index template.
Anonymous
Do you want to do this?
Anonymous
He won't let me send the image.
Doragonsureiyā
He won't let me send the image.
Read the rules before any activity: @PythonRules
Anonymous
You should go to the admin. Then create a new class ... For example if your model is called "Service", create a class called "ServicioAdmin (model.ModelAdmin)"
Anonymous
Remember to import the model in the admin. Then inside the class you must add the following fields:
Anonymous
list_display = ['name of field 1', 'name of field 2'] search_fields = ['name of the field you want to search by, for example, "title"',] Then add this outside of the class: admin.site.register (Service, ServicioAdmin)
🐼🖤
how can i check if dicts are on the list
Anonymous
M
what I know is session is not expired yet...
Did not get .. there shod be way to check on login if sessio. Of that user logged in or not
Ꝉ𝖎𝖆𝖒 눈‸눈
M
😂 may be you use pastbin
Doragonsureiyā
To share code or error tracebacks, be considerate and use an online pasting service - here is a list of suggested sites: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev If you post a wall of text message (many lines), delete it quick or you may get a warn strike.
Raj
Hi all👋🏼, I'm implementing socia-auth in my project. I'm getting this error. Please help me out. AuthFalled at social_auth/complete/github/ Authentication tolled The redirect_uri MUST match the registered callback URL for this application
Iconoclast
I tried django_rest_social_oauth2 yesterday, the github readme isn't very clear and it's confusing to install and use
Iconoclast
What are the alternatives?
Iconoclast
Particularly the part about generating client id and token
It needs to be sent with the request right?
Anonymous
It needs to be sent with the request right?
Its use your settings.py you mentioned their. and django will identified which app you use for authentication
Sodaney
Hello guys. May I know what is the different between APIview and Viewset?
Iconoclast
But I am unable to send a get request at the auth route
Raj
Hello guys. May I know what is the different between APIview and Viewset?
APIView classes are different from regular View classes in the following ways: Requests passed to the handler methods will be REST framework's Request instances, not Django's HttpRequest instances.
M
Then check code.. might be something wrong
mas i check code and it's there in link. may be i will wait for admin to suggest something easier
Raj
Hello guys. May I know what is the different between APIview and Viewset?
A viewset is a way to combine the logic for multiple related views into a single class
Sodaney
Thank you so much Raj
Raj
What is your redirect uri
http://localhost:8000
Mukesh
I am working with Django 3.1. And I am trying to access only single key value pair in template from JSON string but I have no idea how to do it. I am able how to get value of single dictionary object form a json string. But don't know hot to get key of that object. example <p>{{selected_package.attribute_values.sizes.key}} : {{selected_package.attribute_values.sizes}} </p>
Mukesh
Just like example you access with these keys in temple with for loop.
but i want key of single dictionary object don't want to iterate through for loop
Beka
but i want key of single dictionary object don't want to iterate through for loop
Okay.. then just you access with key and do just like you did with example
Beka
First print that json in terminal to be able to see what are the keys you're sending in json format.
Beka
And in your template use these keys that exists in json
Anonymous
why i am feeling django too difficult to learn
Agent Q
Its smaller than Django to learn
Anonymous
i have already given 3 month
Anonymous
are there any resources that make me easy to learn djangoo any suggestion please!
Anonymous
i need perfect guidence!
A Fkin
i need perfect guidence!
return "Perfect guidance"
A Fkin
can you guide me
What's the matter?
A Fkin
are there any resources that make me easy to learn djangoo any suggestion please!
I think using a training course from udemy or any other reliable resource can help you a lot to start learning. But in order to become a senior, you should continue with the official docs.
Anonymous
What should be the salary of one year experienced Django developer in India?
Shyamkumar
What should be the salary of one year experienced Django developer in India?
According to PayScale, the average annual Django Developer salary in India is Rs. 6,04,000 LPA, whereas Glassdoor stats show that the national average Django Developer salary is Rs. 5,50,000 LPA.
Venkatesh
I want to do project in django Can anyone suggest me a website I want to make Online examination system Please help me
Sopan
What should be the salary of one year experienced Django developer in India?
There is no standard or formula. Just count resource as 1 year software engineer...
arun
Where i find study material of django to begin . Help brothers.
Agent Q
Camille
Anyone who knows where I can get Django remote jobs
Beka
Anyone who knows where I can get Django remote jobs
Linkedin and other websites.. just Google.
Venkatesh
What you've tried? What you've done? What error are you facing?
I want to do project in django I am the beginner
Beka
I want to do project in django I am the beginner
I know you're beginner.. important thing is start doing, try your best.
Beka
Think about your project logic.
Beka
Yes Can you suggest any YouTube channel
Youtube won't help you to fix your problem. Of course, you can look up related topics.
Beka
Make something your own*
Venkatesh
👍
Beka
Yes Can you suggest any YouTube channel
But as good resource topics about django, I strongly suggest you Corey Schafer channel on YouTube. His teaching method is very good and English is native language. I like the way how he explains django concepts in easy way. https://youtube.com/playlist?list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p
Tushar
Where i find study material of django to begin . Help brothers.
You can find their basic project in their documentation and follow it through to understand. Here's the link https://docs.djangoproject.com/en/3.1/intro/tutorial01/
mujokhiddin
I am advised to increase my knowledge logically