Enam_may
Thank you by the way🙏
Mirco
I meant in django
You should upgrade packages that are not compatible anymore and have lot of patience
Mirco
If you have a test suite, the process can be faster
Anonymous
What's the difference b/w saving images to db and saving it to seperate media folder? Where the images in media folder will actually be saved(if not in db)?
Anonymous
And how will it affect at production?
Anonymous
Can anyone plz help?
Mirco
Diego
Hey guys, i need to insert some python scripts (web scraper) in my django project, this script would parse some data then save in the db(postgre) for consulting in the front,Should i add the data in the python script directly or i must create a model to save this data and query after
Bais
Good night guys, I have CORS error when I try login with postman on django , I tried all manual I found.
Bais
CORS_ORIGIN_WHITELIST = (
'https://localhost:8080',
) I tried this my frontend is in vue
Kartikeya
Anonymous
Hi guys I am looking for fest frame work part time developer interested guys pls call me what's up /call : 9966147793
Anonymous
How get all data from database and how can I convert to json
Armin Habibi
Anonymous
Hi am a newbie in django . While trying to create a api hit from postman. I'm getting an errror parse() missing 1 required positional arguement when the code was JSONParser.parse(request).how to fix it
Ab2697
Anyone need coding blocks django course ?
Ab2697
At low price
Sandeep
Sandeep
Venom
What virtual environment you prefer ?
thenils
Guys i am looking for complete user base for my project
There user cam make sigin, sign out but without using django User model ,
Give me suggestions please
Джентльмен
Джентльмен
thenils
Джентльмен
Джентльмен
You can use the logic of AnonymousUser model. And you would have 3 different models for request.user: User, AnonymousUser, CustomUserModel
Джентльмен
thenils
So the User model will override or will be deleted
Джентльмен
thenils
Thanks
thenils
I am trying
Джентльмен
I am trying
https://github.com/django/django/blob/master/django/contrib/auth/models.py
Джентльмен
Джентльмен
In your custom authentication backend just return: instance of your custom user model and payload (token)
Джентльмен
thenils
thenils
thenils
in models.py
B419045_Rashmi Ranjan Das
I am building a Youtube Downloader app using django. But the files are being downloaded into the server. Is there any way so that the file gets downloaded into the clients local system rather than the server? Please help
Anonymous
Good morning everyone, do you know any course that implement microservices with django?
B419045_Rashmi Ranjan Das
Kartikeya
Anonymous
Hello Huys How Can save Object to my django model ı get this firstLocation = request.POST.get('firstLocation') its comeşin [object Object]
I need to save my django model but ıcan fixed my problem anyone help to me =
Alex
Anonymous
ı was check here but ı cant do
Fazil
def get_posts(request):
posts = post.objects.all()
return JsonResponse([post.serialize() for post in posts], safe=False)
Fazil
object has no attribut serialize
Fazil
what's wrong?
Dev
Use serializer
B419045_Rashmi Ranjan Das
B419045_Rashmi Ranjan Das
File*
Антон
Hi.
How do you make this work?
<img src="{% static 'screenshot/{{name_of_photo}}.png' %}"
Maltapopoulos 🇲🇹
Alex
Akshay
guys m getting this error . Please see and suggest me..
user model imported from django.contrib.auth.models pylint(imported-auth-user)
Focky
Focky
If you want, i can share the code with you
Dev
Антон
Dev
Dev
Only dir of file
Anonymous
I have created a class called Datebase.
I initiated mysql database connection in a method inside the class
However, when I use the connector in another method of same class I get an error "ReferenceError: weakly-referenced object no longer exists"
I looked it up but nothing worked for me.
Check the code here-
https://hastebin.com/yiwoxogode.rb
abhijith
Maltapopoulos 🇲🇹
Could you share a part of your code ?
abhijith
I just tried with both Testcase class and ApiTestcase
abhijith
That thing is working but it take lot of time
abhijith
I checked the backend and noticed that db is creating
abhijith
Totally 130+ tables are there
Anonymous
Hi i need help in hosting django project which is the best and cheap platform for hosting django projects
Anonymous
Anonymous
HI everyone, do you know any course that implement microservices with django?
Anonymous
Hello guys .. anyone know how to make user in django from frontend (sign-up page) not from admin
mukul