🏁 🏁 🏁
todo list
Prateek
Shubham
i have deployed my django app on heroku but when i put debug = false! media images are nor showing
Shubham
i tried! but I'm a newbie if anyone know s the soln please help
Mirco
i tried! but I'm a newbie if anyone know s the soln please help
When you put DEBUG to False, Django won't use anymore the staticfiles app that it's the one that allow u to handle statics when u develop for free
When you deploy on Production, it's up to u to handle statics so you can use Whitenoise, a cloud storage or let your Webserver like NGINX handles them
Shubham
I'm having problem related to deployment on heroku in which my static files are not working though I have added static files setting in settings.py can any one help me to solve this problem?
Mirco
xoxo
Hie guys I'm going to join as python web developer, I'm new to django development so guys can plzz help me in my own tasks. thankyou
Mirco
xoxo
thank you mate
∆$¶u
What is the difference between urls.py in project and app
Anonymous
Mirco
Hi
Can we enable pictures in the group?
I am able to create entries in my database using myregister view . But, when i use authenticate function, it gives None ser
Hi
I am pretty new to django rest framework. Just trying a login function withot any token
mohammad
hello im want create a button at panel admin django
How can I?
Mirco
shashikant
Hii all..can anyone suggest me some drf tutorial beside it's official docs.
Kalik
Hello, I have a question
I have my telegram bot that uses Django for working with a DB and the admin page. It starts with «python3 manage.py startbot» (custom command)
Can I run on a same machine the Django server (python3 manage.py runserver) and the bot (python3 manage.py startbot)?
For example I want to open the admin page while the bot is running
vikrant
the main thing is in my one project it is showing this kind of error in different project it is not showing
Just can't understand is it postgres error or any other
Alexander
vikrant
Can't able to share screen shot
Alexander
Check user name and password for postgres connection into settings
vikrant
Checked its correct
Upasana
i am following a tutorial and stumbled across this. the name in line 81 in settings.py isn't correct. how to fix it?
🏁 🏁 🏁
how to insert someone else's link to django site?
If I write {% url 'link%} it goes to views.link, if I write' link.com 'then it goes to http://127.0.0.1:8000/link.com
Xudoyberdi
🏁 🏁 🏁
<li><a href="{% url 'home' %}">Main</a></li>
<li><a href="google.com">Link</a></li>
Goes to this ==> http://127.0.0.1:8000/google.com
🏁 🏁 🏁
But need google.com
🏁 🏁 🏁
😲 Oh sorry. It was enough to add https://
Xudoyberdi
Anonymous
Hello!
Is it possible to configure IntegerField in Django so that it only accepts numbers that have at least 6 digits and at most 12 digits?
Gkm
Hi
django restful api how to add the react part as frond-end ?
Jacek
Jacek
overs = models.PositiveIntegerField(default=10, validators=[MinValueValidator(1), MaxValueValidator(100)]
Jacek
You need to replace of course numbers
Majid
How can I authenticate (register and login) in api without using DRF?
Anonymous
Jacek
Mirco
Gkm
good evening everyone
I'm looking for help
I have my API restfull in django (back-end), I'm trying to display it in react frond-end or make my views in react !! how to do?
Mirco
Gkm
Gkm
Anonymous
Hello, I'm having a problem... I'm using a NullBooleanField and when I define it in the model I set null=True but when I update this field in my Database it doesn't change
Luis
Luis
Anonymous
Luis
Sure! I have not been using DJango for a while (1 year), but let me take a look :)
Luis
I think that you're not saving the attribute anywhere :/
Luis
Does this print print(client.authenticated) show True?
Anonymous
I just realized what was hapenning... I must execute client.save()
Anonymous
That's why the attribute was not being updated in the database
Luis
Yep :)
Anonymous
Luis
You're welcome!
Salima
Hello...please can anyone help me with the code to run a .env file holding an environment variable....
Salima
Agent Q
Prince
Hello, I need some advice.
I have a AWS lambda function, which calls my Django Rest framework website to update data 30 times per minute. (Which will soon increase to 40-50 times per minute).
Currently it is doing HTTP Post request.
I want to know is there a better way to handle it? (Something like mqtt)? Or else?
Because request load will increase day by day. There will be more than 200 request per minute soon.
^o^
Hi, I am working on a project that requires a DICOM receiver to receive DICOM files from the network. This is a Python-Django web app. Is there any python package available to integrate with Django to build a DICOM receiver?
L
hello all
L
How to create a post rest api in django if sample request and sample response is given? Can't understand from where to begin.
âshîsh
L
ok thanks
L
couln't find what i'm looking for
L
if anyone can tell me how to get started if this type of question is given
SHAKEEL
L
maybe yes