Maxim
ngdream
i have deployed my website on heroku
ngdream
its a social network but a got an error 500 when i cry to post something but strangely it works well in local
ngdream
this is my post's model
Saleh
ngdream
plz help me
ngdream
help me plz 🥲
Anonymous
ngdream
http://dpaste.org/R8S7
Брат
Брат
I really appreciate that\
NAMIKAZE
SN
I need a help in my project
How could I get current user in models.py and set it as field default value
Maxim
SN
Login user
Priya
Any one here who integrated social media account such as instagram twitter spotify ??
Harshiv
Hello everyone, can anyone tell me that how to link class id="#name" with url.py to give the direct path to that class id
Harshiv
??
Priya
Any one here who integrated social media account such as instagram twitter spotify ??
Here is my doubt:
I have a link which Facebook is provided and also I have mention redirect url in this link as well as Facebook developers account .
When I hit the link then one instagram login page comes up and ask me to allow the permission to access user details. After all the procedure I get the access token ,user id and username of the Instagram user . but in request.user I get the anonymous user so I don't know how to save this information in database .bcoz I don't have user object.
who am i
Can anybody help me in django
Doragonsureiyā
Can anybody help me in django
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
SN
default value for what?
I will explain briefly
I have a model name job
And it has a field job_no,
In that I want to set the default value as year + short name + no
For example:- 22SM_109
SuperN00b
pavan
I have to give action in template(suppose template contains name id address) to make update in submitted details, backend script is implemented how can i connect with views and html in url
Mohd Zaid
how to convert html to pdf with css and js ? weasyprint module does not convert js
Mohd Zaid
Guru
Can any one help how add custom sms gateway OTP integration
Gaurav
How to rerun celery task if i got an error from an api request
For e.g
I want to do a post request to an api
I want to call that api until it gets succedd in positive request
How can i configure celery to do so
SN
Hi
Can anyone please help
Django admin save_as not working when work with django-nested-inline
Gaurav
M
Hello i have problem with make migrations it keeps take migrations from an old project whats the problem pls
W
Hi guys, gm. Ive just realized that on my ongoing project I have this metrics due to github statistics:
HTML
35.9%
JavaScript
28.9%
Python
24.8%
CSS
10.4%
W
So far, I want to know if Im over using JS in the proyect
W
For example, I am validating some things in js and not in the backend. Do I have to validate in the backend and not in frontend? Whats yuor thoughs?
Paul
how can someone tell without looking at the project, over-using is subjective to everyone, what if your project requires this exact amount of usage of javascript that is only for you to decide
MoonZack
Hi everyone, I am finding it difficult pip installing channels_redis on Windows
SuperN00b
MoonZack
Sam
MoonZack
Брат
Hi guys! Can anyone explain usage of CoreAPI in simple words? I couldn't understand the docs.
Kuntal
FieldError at /post/create/
Cannot resolve keyword 'user' into field. Choices are: DOB, basetable, city, coins, country, customuser_ptr, customuser_ptr_id, date_joined, email, first_name, foodpost, gender, groups, id, is_active, is_staff, is_superuser, last_login, last_name, logentry, password, phone_number, pin, profile_photo, state, user_permissions
Kuntal
i got this error
Kuntal
how to solve
(⌐■-■)
No user column present in ur table.
(⌐■-■)
U need to create a user field in models
(⌐■-■)
DOB, basetable, city, coins, country, customuser_ptr, customuser_ptr_id, date_joined, email, first_name, foodpost, gender, groups, id, is_active, is_staff, is_superuser, last_login, last_name, logentry, password, phone_number, pin, profile_photo, state, user_permissions
These are the columns in ur table
Kuntal
i was created custom user model
Kuntal
in createpost model user with ForeignKey like that user = models.ForeignKey(Donner, on_delete=models.CASCADE)
Kuntal
help of custom user i created donner
Nwosu
Hi Guys, Good evening.
please can anybody direct me to a resource for generating pdf file from a html file in django
W
Ankit Anand
Any can help me how to send data using loggers in log file
Ankit Anand
Data means var
Maxim
Ankit Anand
Yes
Ankit Anand
How to implement logger to send sam data in logger file not cmd
Sourav
how can I pass data from views.py to models.py? can anyone help me ? it's urgent.
Rahul
Avvi Rapper
Hi all....I have created a model form which has a field to upload image. I want to save image named as <userid+filename>. How can I get the user id of the current user
Avvi Rapper
https://gist.github.com/KKhushhalR2405/089453f397397e1d24cccb59a7dcfe7c
This is my model.py file
Avvi Rapper
Avvi Rapper
Ok...I got it👍
Anonymous
Hi all.. I have hosted my project on a server using gunicorn and nginx it working fine but I'm getting cors errors in browser
Leon
Anonymous
Yes
Leon
is there a way to edit/update stored template cache? without deleting the cache
Anonymous
I don't know
.......
hey guys I'm trying to do a deploy