Anonymous
To tag you .-.
Uday
the images on blog page isnt showing but everything else like title is working models.py blog_img1 = models.ImageField(upload_to = 'static/blogImages/', null=False) blog_img2 = models.ImageField(upload_to = 'static/blogImages/', null=False) bloghome.html <img src="{{ posts.blog_img1.url }}"><br>
goku
Do I need a receiver for token authentication?
goku
To implement
garrip91
How should I set up my FileField for upload any files to "media"-folder?
garrip91
Who can help me? 😔
mukul
Who can help me? 😔
Models.imagefield(upload_to='. ')
Xpyk3rs
how to set foreign key.. Ican nput values from backend.... but it's not work n frdend
Uday
Make changes of project url.py according to the local and hosting server
thanks, working now i didnt set up media root and url and didnt join static url with url patterns
bikrant
What's best way to reset the db in django
bikrant
I tried deleting db.sqlite3 but it's getting error
Rohith
guys is it possible to manage website users
Rohith
like creating login for my users my self Instard of users creating there logins
Harsh
No luck same issue Within the machine it's working fine But in other machines connected in network, unable to load
Try with you machine ip-address it work on any ports and access with any machine in local connection.
Shubham
Hello team, I hope you are doing great! I have a query https://dpaste.org/1g14 as you can see , I have 3 models , 3rd model has not direct relation with other 2, https://dpaste.org/PCga is my viewset, how to create a viewset which referes to 3 models? Do I need to use DjangoRestMultipleModels?
Mirco
?anyone
!anyone
Doragonsureiyā
?anyone
Maybe anyone is here, yes, but they are not obliged to read everyone's message here neither to reply to everyone's message, if someone wants to reply to your message, they will do that, just don't try to draw attention to your message writing "anyone?" every 5 minutes, that will lead you to be warned for SPAM/Flood, just be patient or use Google/DuckDuckGo to research about your question instead of wasting time here waiting for people to do your work. Have a nice day 😊
Xpyk3rs
Shubham
Hi
Shubham
how to pass the data in request object
Shubham
we dont have model for that
luci._
Hi everybody, I'm new, I want to ask you what book should I read?
Антон
Hello everyone! if anyone can help please. I am new to working with django. I'm showing to user a photo in the bowser and want him to dot the photo himself. for example: "pick the ball" -> the user clicks on the ball -> I save the coordinates of the point in the photo
Faxmodem
hi error in django project GET http://127.0.0.1:8000/static/css/slick.css net::ERR_ABORTED 404 (Not Found) setting file : STATIC_URL = '/static/' STATIC_ROOT = BASE_DIR / 'static' STATICFILES_DIRS = [ BASE_DIR / 'blog/static' ]
ashkan
Hello friends, does anyone have the book two scoops of django?🙏🙏❤️❤️
SAN
STATIC_DIR= os.path.join(BASE_DIR,"static")
VarunTheLord
SAN
Isn't this STATIC_ROOT?
Bro i use in my project like in this way
VarunTheLord
Alright.
SAN
STATIC_DIR= os.path.join(BASE_DIR,"static")
For using this You have to import import os
Dario Antonio
hello, I have a question; in the following tutorial or guide, is an endpoint created? https://medium.com/@halfspring/guide-to-an-oauth2-api-with-django-6ba66a31d6d
cj
Hello friends, does anyone have the book two scoops of django?🙏🙏❤️❤️
here you have it... you can buy it now 😊 https://www.feldroy.com/products/two-scoops-of-django-3-x
RAVI KUMAR
Guys in my project ,a box are showing in the place of navigation bar,,how can remove this box
Doragonsureiyā
Guys in my project ,a box are showing in the place of navigation bar,,how can remove this box
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain: - what you're doing - what you're expecting - what you're using - where you're running the script - what Python version you're using - what packages and their versions you're using - and the most important thing: show the code YOU wrote (read rule 5️⃣ for that) and more details, that way your chances to get help will increase
Anonymous
Hi all
Anonymous
I want to populate some field with sunset and sunrise in django
Anonymous
Which package should I use?
Anonymous
I use python 3.6 and django 3
Anonymous
I read about pyephem and astral
Anonymous
But I'm new to python/django and maybe someone worked with that
Philip
Please I need to develop a text to speech system using django... Help me throw more light
Philip
Please I need to develop a text to speech system using django... Help me throw more light
I'll appreciate if you can help share ideas how I can go about it. Thank you
Doragonsureiyā
Please I need to develop a text to speech system using django... Help me throw more light
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
Rohith
Yes
How to do that ?
Doragonsureiyā
How to do that ?
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
mario
How to do that ?
That’s not really a question to just answer like that and give you the code. Make it so that you’re an admin and only an admin can create user accounts?
Diego
Does pyinstaller is compatible with django 3?
Charly
Does pyinstaller is compatible with django 3?
why someone would use pyinstaller for something with django?
Charly
why not just deploy it as a regular web app
Diego
standalone app
Diego
offline
Charly
well, aound you should have used something different
Diego
The server where is planned to run hasn't python installed
King Phyte 🐍
offline
You can always host your app offline with localhost
Diego
The only problem is that the server doesn't have python installed
King Phyte 🐍
The server where is planned to run hasn't python installed
Which do you think will be better? 1) Download Python on the server and run your app there 2) Use pyinstaller and probably have issues with dependencies
Diego
The first one seens better, but the server is really restricted so i was trying another way, but pyinstaller seens to be really confusing and not compatible with some django things
Diego
I've created a version in pyinstaller but i'm' facing some problems with static files
Diego
windows
King Phyte 🐍
windows
Explains a lot
Diego
Yeah, it's my company server, we can't install somethings