Xavier
sorry
Xavier
i dont thing u can go away with form cuz u are posting files
Xavier
nope you need FormData();
Xavier
does this not work? let resume = $("#resume")..val(); if the above dont work then try this $('#resume')[0].files[0];
Anonymous
Can any body tell me how can update data in for loop using ajax
Anonymous
In django
Anonymous
I want to change question dynamically when I click on particular link
Mr
Use tkinter
Bro please tell how to run my exe in window 7
Mr
In tkinter
Xavier
Can any body tell me how can update data in for loop using ajax
u want to combine django template and js that can happen you gotta first render those element then control them with js/jQuery dynamically seperated from django template
AK
does anyone wnow how price history app work?? Its urgent
AK
For those who dont know, it tracks prices of each product and alerts user if price falls
AK
i saw one with python webscraping, but it does not explain how it keeps track of prices
AK
for that the program needs to monitor each product all time right???
Xavier
For those who dont know, it tracks prices of each product and alerts user if price falls
in django you can just fire a function whenever the price fall
Xavier
its all about how to manupulate the model
AK
in django you can just fire a function whenever the price fall
I have another doubt, Suppose a view requires some time to execute, can another user run the view simultaneosly while the first view is running
AK
yea django can handle 1000 request at the same time
I am a beginner, I know the language but not the working. So does it work like this Each user accessing the api ( django rest fram) creates an instance, like class object, is it???
AK
I need to study different ways of designing backend like websocket other etc , what is exactly the search term for this?? anyone help
Xavier
I need to study different ways of designing backend like websocket other etc , what is exactly the search term for this?? anyone help
just go to django docs and pick up a project when u will need them you will know precisely what u need to learn
Castiel
Js file not loading {% load static %} <script src="{% static 'js/filename.js' %}"> Inspire of doing this and collect static also it's not working
Adiziel
I am a beginner in Django framework , I have two form say Enquiry form and contact form on a single html page but totally away from each other now i want to know how can i connect these two html forms to my two different Django Forms plz guide me how can i make it happen
Raffaele
can I use CBV and FBV in the same django project?
Raffaele
because I'm writing an e-commerce
Adiziel
here is stackoverflow link https://stackoverflow.com/q/62424677/11587166
Raffaele
for the views of the cart i'm using fbv
Raffaele
but for the other parts of the project I'm using cbv
Mirco
because I'm writing an e-commerce
It's not a problem, it depends on the use case Sometimes is better to use FBVs rather than CBVs
Raffaele
for example I don't reuse the views of the cart
Raffaele
the models is written with cbv
Mirco
Have a look at what Django does when you do as_view() into your urls pattern You will discover interesting stuff 😛
Ghorz
Bro please tell how to run my exe in window 7
Just the way you run exe on any other windows machine
Mr
Just the way you run exe on any other windows machine
No sir i create exe with pyinstaller in win 10 but exe cant run in win7
Mr
You got to do some Googling
I couldn't find a proper anaswer
AK
What is meant by deploying django app??? Does it mean simply running the program in a server?
Anonymous
how to make django infinite scroll? anybody can help?
snc
how to make django infinite scroll? anybody can help?
use django pagination with javascript in frontend
Anonymous
https://simpleisbetterthancomplex.com/tutorial/2017/03/13/how-to-create-infinite-scroll-with-django.html i used this but it doens't work
Bekhruz
Hello, members! I would like to know how you approach reuploading the default profile picture of a user? Here is the problem I am having: Users registered on my site have a default profile picture that I assigned in my models.py file. It is working perfectly,............ until, a user deletes his default profile picture and does not replace it. As a result my template is giving me an error saying there is no profile picture. I am thinking of creating a signal (in signals.py) that checks if the default profile picture is deleted and not replaced, if true, the signal immediately replaces it with the default one. Can anyone show me how to automatically re-assign an image to a model's image field? thank you.
Aditya
ANY LITTLE INFORMATION WILL BE HELPFUL I need some guidance related to this task. How can I access any mobile device fingerprint sensor using web API. I am thinking to create an API using Django Framework. The task is - -------------- I want to create SaaS system that provide developers with APIs that offer bio data verification methods using AI and ML. A web-based app to help users create accounts to start using the system and creating API keys. Fingerprint Recognition ---------------------------- Set of APIs: REGISTER LOGIN - An API to help their users to register their fingerprint scan recognition data. An API to verify the user using their facial recognition and return the user reference ID and token.
Bekhruz
Js file not loading {% load static %} <script src="{% static 'js/filename.js' %}"> Inspire of doing this and collect static also it's not working
is your settings.py file properly configured? STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static') ] do you have these variables? if yes, do you have a folder called static in your root directory?
Aditya
okay
Aditya
also can you please elaborate the reason why I cant use it?
AK
also can you please elaborate the reason why I cant use it?
https://www.google.com/amp/s/www.androidcentral.com/how-does-android-save-your-fingerprints%3Famp
AK
read this
AK
so what are the other options I have???
you can do face but dont know about fingerprint
Bekhruz
What is meant by deploying django app??? Does it mean simply running the program in a server?
some people call a django project an "app", because it may have only one app inside. calling a project an app is technically wrong, but some say it anyways. if that's the case, deploying a django app means - uploading the project into a SaaS server like AWS or Heroku, and get it online.
Aditya
I want to deploy the app on SaaS server
Bekhruz
Yeah exactly, sorry I typed wrongly.
btw, if your django project is a web application, you can call your django project a web app.
Aditya
yeah, but that's not what i am focusing on actually, am actually thinking about the fingerprint thing...
Aditya
is there any github repo or previouse projects available online so that I can start
AK
is there any github repo or previouse projects available online so that I can start
https://www.google.com/amp/s/www.androidcentral.com/how-does-android-save-your-fingerprints%3Famp
AK
read this its more than you think
AK
I too was in search for fingerprint read for another project
Bekhruz
is there any github repo or previouse projects available online so that I can start
https://github.com/kjanko/python-fingerprint-recognition
Aditya
Yeah I am reading it, thanks Anandha
Aditya
https://github.com/kjanko/python-fingerprint-recognition
I have seen it yesterday, its accuracy is not good.
Aditya
I am not looking for solutions with openCV or using CNN
Bekhruz
I am not looking for solutions with openCV or using CNN
let me know when you find a good library or anything about fingerprint rec. in python
Aditya
okay
Aditya
sure
Anonymous
Have i write def __str__(self) function inside class in models.pt
Anonymous
Have i write def __str__(self) function inside class in models.pt
def __str__(self): return self.value #value is the attribute of that particular class in which you define this function(should return a string value)
am π
Anyome worked on twitter API ? I have a Usecase If i comment in any threads @Amit_reader submit to the last tweet of the thread. Those threads will appear in the app in a few seconds if it passes the following criteria: 1. Retweets > 25 2. Three chained tweets in the thread 2 nd case Or no criteria just the reply with a tweet handle name @amit_reader All tweets show up in app
محمد دلشاد
help me with this
محمد دلشاد
await connection.eval(cleanup_script, keys=[], args=[channel, backup_queue]) aioredis.errors.ReplyError: ERR unknown command 'EVAL
محمد دلشاد
it was working just before the redis server config
محمد دلشاد
but now its consoling me chat socket closed unexpectedly