Anonymous
Has someone used selectize.js?
Anonymous
In a django app I need an ajax request
Anonymous
I must filter some data according to another select
Vitaliy
So, make an ajax request to django to filter some data according to another select 🤷‍♂
Anonymous
Yes, it is done
Anonymous
But it rewrite the html
Anonymous
I don-t know how to selectize the dropdown after ajax request
Anonymous
If the dropdown doesn't use selectize as plugin it work perfect
(USMON)$
.
Taku
I have a doubt When we create a model in Django does it get stored in Django server or in local host ?
Anonymous
Depend
The mint of Linux **
The mint of Linux **
I want to ask one..thing... that I have a database with sqlite 3 ...hosted so..if I want to change database..then how to restore that previous sqlite data ??or how to merge the data in new database
The mint of Linux **
@Anksak @lnxpy
Anonymous
refer to django documentation . when hosting using pythonanyhere there is an option to connect to mysql or postgres
Anonymous
you also have to reconfigure your database in settings.py file to reroute to mysql or postgres
Anonymous
and then you have to delete the pycache files and migation folder and do makemigrations and migrate
Anonymous
no am talking when deploying but to production that is first time deployment
The mint of Linux **
Ok...but I have deployed and the. If I want to change the data base then how ?? To?
yohannes
can I do stand alone inventory management system as desktop app using django...
Anonymous
Hi I want to come home when the http code was 200 or otherwise the error not found
yohannes
What do I need To deploy a django app locally ?
Anonymous
YOU should have a browser and django installedin your system
தாமோ
Hi guys ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine After running server .
Yash
I need cloud storage for my simple side project in Django/React. Which will be more suitable and easier, firebase or aws s3?
Anonymous
What do I need To deploy a django app locally ?
How do you understand the word deploy? Deployment is making available for all user and you are saying deploy in local already you can see by python manage.py runserver
Doragonsureiyā
How to show an response on RetrieveUpdateDestroyAPIView....???
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z" Just ask about your problem directly! With ~80,000 people here, the probability that someone will help is pretty high. How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
K.
I want to avoid simultaneous sessions for the same user in Django. If a user logs in, the rest of sessions of that user should be logged out. How can I get this? Thanks.
Sh
is there any django field for range in numbers: 1-10 like that
Vitaliy
I want to avoid simultaneous sessions for the same user in Django. If a user logs in, the rest of sessions of that user should be logged out. How can I get this? Thanks.
Use django.contrib.sessions.models.Session, find the sessions you want to close and set their expire_date to now().
Vitaliy
is there any django field for range in numbers: 1-10 like that
It's a Postgres specific field type. But you can make your own field type which would internally use 2 fields for range limits.
yohannes
How do you understand the word deploy? Deployment is making available for all user and you are saying deploy in local already you can see by python manage.py runserver
Sorry for the word i used what i mean is use it localy connected computers without internet... thank you for ur help ....
Armin
Sorry for the word i used what i mean is use it localy connected computers without internet... thank you for ur help ....
Just manage.py runserver 0.0.0.0 And it'll be available on every computer on your wifi network
Armin
To connect to the project check your computer's local ip through ipconfig on windows and ifconfig on linux Then open browser on your other device and navigate to: ip:port I hope that's what you were asking, if not so then please explain your question further.
ASKAR
Why warn? I've searched from Google and nothing!
Lapanit ☃️
Why warn? I've searched from Google and nothing!
you reported your own message, please dont
ASKAR
class PostAdmin(admin.ModelAdmin): TypeError: 'NoneType' object is not callable Anyone can help please 😐. I'm going to use decorator
Doragonsureiyā
❎ ‎ʟᴀᴘᴀɴɪᴛ pardoned ‎ASKAR [358554824] for 1/3: ‎reporting own message
The mint of Linux **
yohannes
Am using django to build inventory management system and sqlite3 as db .. but how much data can it hold? Or should i change z db to postgresql? But what is the capacity of sqlite3
Украинский
Am using django to build inventory management system and sqlite3 as db .. but how much data can it hold? Or should i change z db to postgresql? But what is the capacity of sqlite3
SQLITE3 System is very powerful DBMS. But Postgresql is better because it has more powerful API for database management. Therefore, it more secure than sqlite3. But if you using windows, you will be need to download executable (150MB) from official site
Украинский
But, if you using it for small projects - it s normal
Anonymous
I have user and activityPeriod model how should I populate the dummy data into model ?
Anonymous
Any tutorial for that ?
Anonymous
Management commands
Anonymous
Feb 1 2020 1:33PM How to get such datetime field in django model
Anonymous
?
faran
hi i want to send some data like random numbers to the database every day at 8 am but as im on windows, i can not use celery... what is the best way to do that?
faran
CRON jobs
does it work for windows?
Anonymous
Try googling it.. I'm not sure
Sanju
I'm using inclusion template tag how I can assign into a variable
Sarjat
Hey guys I am a django newbie I made a blog website after work hard for 1 week please give me any suggestions to improve it and please do its testing https://crabbycoder.herokuapp.com/
Anonymous
Hello, please I have a problem. I lanch my project django, this error received...
Anonymous
Please can you share the picturales.. ?
Kaia
Hey guys I am a django newbie I made a blog website after work hard for 1 week please give me any suggestions to improve it and please do its testing https://crabbycoder.herokuapp.com/
I registered and logged in this website. Then I left comment but I can’t delete it. It would be good to add delete function in comment section. But in general, I think it is a good job for django newbie👍
Yuvraj
Crabby , did you use Postgres ?
Hapan
How to implement , eg: emp A mgr B,emp B mgr C,emp C mgr D
Sarjat
Im want to register and getting 500 error
I will have to look into it can you tell me what did you enter
Sarjat
No sqlite3
Украинский
Miras (name)
Sarjat
Hmm please try again
Украинский
Pidaras (lastname) Jeremy(username) non-existing-email (code@gmail.com) jeremy_the_123(password)
Sarjat
Pidaras (lastname) Jeremy(username) non-existing-email (code@gmail.com) jeremy_the_123(password)
I used django default authentication so I don't know where did it go wrong
Yuvraj
Thanks
I TOO registered and logged in, but i can comment only, i see no option to write posts
Украинский
I registered and logged in this website. Then I left comment but I can’t delete it. It would be good to add delete function in comment section. But in general, I think it is a good job for django newbie👍
Can you make it open source and publish it on github? Or send directly to me the source code of your blog... I finding your blog very nice (especially reply-to-comment-system)