Daniil
This field can save just one id. How can I save multi id's?
Alex
Daniil
yeus
@l3j@ndr0
Hello what's the timestamps with time zone field in postgres equivalent in django models
Alex
Alex
So it seems that DateTimeField will be sufficient
@l3j@ndr0
Maybe but in settings you need to enable USE_TZ
Alex
Maybe but in settings you need to enable USE_TZ
As a consequence, if you’re using PostgreSQL, you can switch between USE_TZ = False and USE_TZ = True freely. The database connection’s time zone will be set to TIME_ZONE or UTC respectively, so that Django obtains correct datetimes in all cases. You don’t need to perform any data conversions.
ADI
Can anyone suggest how to extract data from a form and save it in json
Alex
Alex
Aditya do not pm me. And I'm not your bro
ADI
This is not what i want
ADI
I want you fill a cms 1500 form and then extract data from it and save it but the doubt is that form is image how to fill it first
@l3j@ndr0
@l3j@ndr0
It's in django rest
Engelberto
Hi friends how can I show Bootstrap 4 calendar in Django I am occupying Crispy or other alternative tell me
Alex
Alex
@l3j@ndr0
ADI
ADI
Surya
Google it🤣🤣
VarunTheLord
If not ,YouTube!
yeus
I would like to put up my exact problem . please please help. I have a volunteer portal where a volunteer logs in and he is shown many posts with links of sharing them on social media. He then shares it and uploads his screenshot on website and then admin verifies that screenshot and then after verification he gets 50 points.
And the posts also needs to be dynamic which admin will upload the content and link although i have created a model for it.
Please help me.. I'm not able to figure out model design..
Surya
M
h
Hi,
I want to check the api of an open source project I'm contributing to, so i used postman for that, when I'm checking for any request like GET, POST etc
I'm getting an error
"Authentication credentials were not provided" even though i entered the token mentioned in there admin page to authorization part.
What should i do?
M
Engelberto
Thanks
M
yeus
Please if anyone can help? It's kinda urgent
M
yeus
M
i am not pro may be someone else can guide on dm
M
😥
Alex
yeus
Yes
Alex
Sounds like you can add a table that will perform m2m connection. Call it "Sharings"
class Sharings(models.Model):
volunteer = models.ForeignKey(Volunteer)
post = models.ForeignKey(Post)
yeus
Alex
Okay thanks
We also can add here the field verified and make it BooleanField for example.
Alex
So in the admin interface an admin can verify each sharing.
Lucid
Anyone knows about django dataframe
Lucid
I would I call it behind my button SUM
yeus
Alex
So for SharingsModelAdmin it will be something like sharing.volunteer.points = F("points") + 50
h
yeus
Alex
Anonymous
How we create customised admin panel with the help of bootstrap and connect to the front end site
Anggara
Hii, my name is anggara from indonesia, I'm new in django.
Subhransu
How to add my django project to heroku
Subhransu
Anggara
I have some question, I'm using django-adminlte3
https://github.com/d-demirci/django-adminlte3
I want to edit admin template
Is anyone have tutorial how to edit adminlte3 template in django?
Vadym
Hi all, I'm Vadym from Ukraine. I have been working as Software engineer for about 2 years. Mostly I was work with Flask but couple of months ago I was able to explain my team that Django fits better to our needs than Flask and now we have a couple of new projects where we use Django and we successfully migrated one Flask project to Django. Happy to join Django community.
Vadym
How to add my django project to heroku
Hi Subhransu. There are a lot of examples in google. I was able to deploy one of my pet project on Heroku using on of manuals from the first page of Google search page. Also there are many manuals on https://dev.to
ken
hi. django model question: is auto_now/auto_now_add going to be obsolete anytime soon? thought I read that somewhere in SO answers
Lucid
How can I append a new column in django dataframe in database
Saurav Sharma
Can anyone help me with customised login and logout page in django
mohammad
Hi, I wanted to know if Django is faster or Laravel?
appu
Luxxy
Hey anyone can explain me the best book for learning Java to beginner
Luxxy
Pls reply me anybody
appu
plzz suggest me an simple django project
Naveen
Sumit
Hi, I need help in django celery , I am using redis with it. I am getting connection refused error , I.e. cannot connect to amqp://guest:**@127.0.0.1:5672//
Sumit
Can anyone help me why it is coming?
Sumit
Sumit
When I run redis-cli it is working, but when I run "celery -A proj worker -B it throws the error
Sumit
When I search about this error on Google I get it's related to rabbitmq, but I am not running it or using it how can this error be related to it