Doragonsureiyā
t
No one can help you until you explain your difficulties.
ok this is my production site
https://favstar.me/popular/
my media working fine but static files like css not loading
https://favstar.me/static/static/core/css/base.css
this is all my dockerfiles and configs 👇
https://hastebin.com/share/iwihehuxis.bash
if anyone save my life i'll be glad its been a month that im stuck in this 🙏🙏
Vladimir
Should I use the latest Django version that is supported? It's just my distro comes with Python 3.9 and Django 3.2 but Python 3.9 supports Django up to 4.2.
Abhi
Hey can any one suggest some idea like how I create a automatically connect with WiFi on OTP verification for 30 min?
Abhi
In django backend
Doragonsureiyā
Abhi
I have a frontend part and have OTP verification but not understand how I connect to WiFi automatically
Yazdan
Hello everybody
I hope you all are doing well
I have finished the basics and some advanced topics in python
Now I want to arrive in the web development world
I want to start with django or flask
Can some one guide me in this field
Do I need any other basics for example html or css ??
Thank you very much
Mehdi
Mehdi
just learn tags , it took 1-2 hour
Maxim
ask
Hello everyone, here in my template this attribute data-setbg is not working maybe not resolving by django how can we set this as background images
<div class="hs-item set-bg" data-setbg="{% static 'img/hero/hero-1.jpg' %}"></div>
Yazdan
Yazdan
Sky
t
Sky
Your docker files are correct, in django settings, you must add thé lines, STATIC_URL = "/web" STATIC_ROOT= os.path.join(BASE_DIR, "web" )
Saman
Sky
Yes.. By default you can use /static/ for STATIC_URL and os.path.join(BASE_DIR, "static")...
Sky
After you run on local python manage.py collectstatic--no-input
Sky
And change web with static your docker compose file
Sky
Neeraj
I have a question,   i runed a django server on EC2 with ngnix and gunicorn but now i want to see the logs as like manage.py runserver
If i go to ngnix access log, there is only record of ip and request url and status same with gunicorn access logs
But i want log as like if we run command python manage.py runserver
Is it possible how.
@
Hi All, Please someone give the roadmap to learn django
aiub
read through official dox
aiub
it is the best doc in the world!!!
@
Okay
@
Thanks
MEGHRAJ GOUD
Pius
Good day,
is there some detailed book on DRF, serializers and JWT
Charly
-shdmhr
Knowing rabbit mq is necessary for django developer?
Charly
Mohsen
To avoid an indirect circular import I should import my module inside one of methods (function in a class)
Is this a good approach? Or reduces the code efficiency
Charly
ishaan
anyone please help me to make api for my recent_trends model,i need help with foreign keys
ishaan
"market_highlight": {
"id": 1,
"content": "test MarketHighlight"
},
"recent_trends": {
"recent_trends": "No Recent Trends",
"sustainable_practices": "No Data",
"ecommerce_home_delivery": "No Data",
"digitalization_data_analytics": "No Data",
"visibility_traceability": "No Data",
"image": null,
"market_highlight_id": null
}
i have data in my recent_trends,i m usiing fkey to connect it with its prev table
Charly
乇PIPHANY❦▧▧❄️
how can I make an internal url for a urlfield
whatever path I put it says invalid url
Charly
乇PIPHANY❦▧▧❄️
乇PIPHANY❦▧▧❄️
乇PIPHANY❦▧▧❄️
so thats the models and field
乇PIPHANY❦▧▧❄️
can i share an image of the admin panel?!
Charly
Charly
What exact value are you putting there?
乇PIPHANY❦▧▧❄️
No, and is not needed
file:///."C:/Users/HP/Documents/index/epiphany/templates/destination1.html"
Charly
乇PIPHANY❦▧▧❄️
He?
basically an internal html page
乇PIPHANY❦▧▧❄️
like i have 5 destinations with different, names, price, etc all given by the super user
乇PIPHANY❦▧▧❄️
and the name of each destination is a clickable link
乇PIPHANY❦▧▧❄️
that should take you the page of that exact destination
乇PIPHANY❦▧▧❄️
i can define it from the backend
乇PIPHANY❦▧▧❄️
i suppose thats true
乇PIPHANY❦▧▧❄️
so what can i do
Charly
so what can i do
Don't use a local path, upload the files to the server
ishaan
What have you tried?
it's working for single model, but I want to connect recent Trends with product via fkey
ishaan
plzz it's urgent
Doragonsureiyā
plzz it's urgent
Is it urgent?
You shouldn't be here, wasting time and poking strangers and waiting for them to do your job for you.
Search on Google/DuckDuckGo, do the research, and solve your problem yourself, nobody here will drop what they're doing to do your job, just because "it's urgent!".
Have a nice day! 😉
ishaan
乇PIPHANY❦▧▧❄️
乇PIPHANY❦▧▧❄️
ishaan
Richard
Please can someone help with an English video on the basics of django
Richard
Please I need a video
Richard
Charly
Please I need a video
These written material will give way more info that a video, don't be lazy and read
Charly
If you want video just go to YouTube and use the search
Richard
Ok
Azat
Which one is powerful laravel or django