Doragonsureiyā
black door
What are you talking about?
Swaaaan
Hello Has anyone come across the fact that StreamingHttpResponse in ASGI (with Channels) does not work as expected? I am sending a large file via StreamingHttpResponse so that the user can see the download progress. This works in a simple project with WSGI, but stops working with ASGI (with Channels) - the entire file is downloaded immediately in its entirety, without displaying progress. Django 4.0.2 Channels 3.0.4 The Channels setup is standard, as in their tutorial. Code example: https://pastebin.com/2EkKQ6nd
Sergey
why you are requesting again the same instance ? 😅
It’s in example of signal processing if I need to know if anything changed and what exactly, than I need to use such construction. And this work on other values. But not on None/null
Shrenika
What I have to do to resolve deserialization error: problem solving installing fixture??
Shrenika
The fixture format is correct
lυcιғerム
My save method not in Django anyone share the solution
lυcιғerム
The can't inserted in database
Charly
Рашид
hello. Can anyone give an example of how to get an id from another table using ModelResource
Neeraj
WhiIf a user log in in DRF, the user need to get that users records. How can I do that
New man
Hi. How use matpliyt in django ??
Stephen
Hey, am new to Django. I have created a super user and wish to login to admin in the server. I run 'python manage.py runserver' but can't find the admin panel. Please help me.
adelshievvv
write "http://127.0.0.1:8000/admin"
Anton
Hello! Please help. Maybe someone know where i can found job as Django Developer. Maybe exists any king of groups/platforms others things for junior developers to get work experience. Thanks
KID
Hey can i host Django website free ?
KID
Yes
How and where ?
KID
I want to host static website
cj
I want to host static website
then you don't need Django
KID
Only contact us page for data base
cj
Means ?
means that if you have a static website, you don't need Django at all... why do you use Django if it's a static website?
cj
Django is meant to build dynamic websites, not static ones
cj
No i mean data not store in data base
that's exactly why you DON'T NEED Django at all
KID
that's exactly why you DON'T NEED Django at all
I create YouTube video downloader with the help of pytube
KID
I want host this web
cj
I create YouTube video downloader with the help of pytube
you just needed a small thing like FastAPI for that, not Django... but still, hosting it is kinda offtopic from this group
cj
I want host this web
look for any VPS and be happy
cj
Suggest some name
google —-> VPS
cj
I know only django so i use it
¯\_(ツ)_/¯ use any VPS for that, but at the end of the day you'll need to pay for it if you want it to be running 24/7
Tulala
How can I add a new app to an already deployed Django app?
cj
How can I add a new app to an already deployed Django app?
I guess you have the project in your dev environment too right? then just add it as any other app: ./manage.py start app appname commit the changes and deploy it ¯\_(ツ)_/¯
Sergey
You are doing again the same query, useless
why its useles? then how to check if my object is updated and what is updated? and this construction works on other values (on change)
...
Does anyone have django handwritten notes?? Can you pls share it
...
why handwritten?
Basically start Django learn
cj
Basically start Django learn
but why handwritten? and who will have it? nosense as the documentation already exists and you should read it instead of some random guy handwritten things
Doragonsureiyā
Basically start Django learn
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Tulala
you can do whatever you want
I cannot see any change on admin backend after the migration
Doragonsureiyā
I cannot see any change on admin backend after the migration
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Zafarbek
There are several Celery tasks scheduled for the same time and each of them should update one object from db. But I think in this case there can be confilct. So how can I overcome this? Any libs for block other updatings and make them wait for their turn
Zafarbek
I use sqlite3
...
Thank you🙏
Lightbourne
I use sqlite3
you shouldn't use sqlite3 in production🤔 moreover, it's not recommended to use sqlite3 even in development
Chi
I use sqlite3
Where do you save your database in sqlite3
Fernando
you shouldn't use sqlite3 in production🤔 moreover, it's not recommended to use sqlite3 even in development
Why not? If your database is small and not expected to grow endlessly, I see no reason why we shouldn't use sqlite3.
rtg
Good afternoon! how do you think that is the better way for publish a django web in play store? But only the app should show the web like a app, like a web browser. There are services where you enter the url, and all file you need for Android are created. Do you know this? Thanks you!
Riad
What is the proper place to put venv directory? project venv Or project--- venv project app1 app2 manage.py
Doragonsureiyā
What are you talking about?
Charly
Riad
Why would you put uotside of project dir if it is parto of the project?
When you create a venv and install django inside it then creates a project, the venv is outside the project
Charly
How?
djang-admin startproject name . tthe dot is the key
Riad
djang-admin startproject name . tthe dot is the key
But it messes up default django behaviour, where does my top level folder go? project -- project 1st project vanishes
Sergey
instance is already what you get from that get(..)
It’s pre-save signal. So it’s definitely works on other values, but not on None value🤔
Riad
what? you should only run that one time
Yeah, I ran one time. Why should I create my project 2 times?
Charly
Yeah, I ran one time. Why should I create my project 2 times?
No, only one time iif you did it wrong the first time is other thing
Riad
Charly
why? thats the point you said that you needed to have the env outside because django creates other directory
Charly
if you like that way is okay, but it is possible to have the venv dir and projwect in the same dor
Riad
I created a venv, activates it, installed django inside it, then ran your command. Then it creates the django project in my desktop without no outer folder
Y
Hey can i host Django website free ?
Yes You can use pythonanywhere