Anonymous
it should be like this
Anonymous
serializer = serializers.YourModelSerializer(queryset, context={"request": request}, many=True)
Sergey
thanks, i solve it in another way) https://stackoverflow.com/questions/51401675/how-to-make-imagefield-returns-relative-path
Anonymous
that's little bit complicated
Vipin
Anyone know about how to generate dynamic pdf when clicking a button using django
Praveen
anyone know how to use mysql instead of sqlite ...?
Vinod
anyone know how to use mysql instead of sqlite ...?
You can add db configurations on settings file
Praveen
ok I will try thank you
Vivekan
Hi Guys , I have an idea but don't know how to build something. The idea is , " extracting texts from images and PDFs from clients who uploads their Medical reports, test samples, d Prescriptions" ... From the data extracted how to predict something useful from the data like what is the client suffering from or they are looking ? How to come to a conclusion ? I am using EasyOCR to extracting and reading contents... But not sure about the modules to draw a conclusion Do you guys have any idea ? Pls suggest me... Is it possible in NLP or NLG ? The constraint I have is clients files are not standard formatted or structured so I can't create a model. So I am Collecting all the info in that file. From there I need to draw a conclusion... What should I be looking for ?
ꪉꫝꪖꪹᦋꪖꪜ
How to Sign up google auth in django ?
Mirco
How to Sign up google auth in django ?
Have a look at django-allauth
ꪉꫝꪖꪹᦋꪖꪜ
Okay, had seen sign in tutorials but sign up wasn't there
़д।युषी। ✽
In django ! How to use Autofield in models .i am getting error while using.
़д।युषी। ✽
In django ! How to use Autofield in models .i am getting error while using.
I have a Autofield in my modelclass but its not showing in admin as a field. And i cant able to access Autofield value like whenever i print it , its not an interger
ꪉꫝꪖꪹᦋꪖꪜ
ꪉꫝꪖꪹᦋꪖꪜ
Hope this might help
़д।युषी। ✽
https://stackoverflow.com/questions/56311132/autofield-column-is-not-showing-in-admin-database
Here given change Autofield to charfield But how auto increment will perform I want to use Autofield so that id get increment automatically
ꪉꫝꪖꪹᦋꪖꪜ
id = models.AutoField(primary_key=True, **options)
ꪉꫝꪖꪹᦋꪖꪜ
Use this
Anonymous
Hello i need help how to get data using queryset in front end
Deepak
hello where can i be able to deploy my django project which has a size of 1.2GB
As
What should I use for CMS under django framework??
Muhammed
'Image crop option adding in django admin panel' ..... If anyone know how to do it.. Plse help me
Anonymous
Don't add virtual environment
ℕ𝕠𝕔
Hi I need a help on my On my pyCharm -python manage.py makemigrations will worked but "python manage.py migrate" will say no migration to apply
Anonymous
Why is_ active table not create in custome user model while i have set it is_ active =models.booleanfield(default=true)
Bhavik
Hi I need a help on my On my pyCharm -python manage.py makemigrations will worked but "python manage.py migrate" will say no migration to apply
Because you have not change any path and all so..that's why it's shows no migration to apply...go directly runserver
Complex_101
I want to upload an image using Django rest framework and also check whether face is there in the picture or not and fill a model variable to true if face is there. How to do this?
Bhavik
urls.py
Anonymous
Ye
Anonymous
Yes
ℕ𝕠𝕔
urls.py
Okay it was working now thanks
Anonymous
You mean it's not overriding?
I have override in mu custome user model
Anonymous
And set default false
Taku
Yes
Use open cv
Taku
Library
Taku
Have you tried it?
Complex_101
You want to detect face ?
Like when I upload an image to django rest API then if face is there in image the variable with face status in the model gets updated to true
Complex_101
Have you tried it?
I tried the face recognition Librarry
Complex_101
I created a file name facerec.pya
Complex_101
It's not working ?
No it's givinh false everytime
Anonymous
In db table not created
Taku
In db table not created
With the value you have given?
Complex_101
If I run only the face detection script its working
Complex_101
But not with django
Complex_101
I guess its path issue
Complex_101
Like proper path is not going to the face recognition function
Complex_101
I am saving all pics in the media folder
Taku
In the views you mean
IN AFRICA
How to Sign up google auth in django ?
i recommand you django-allauth
Complex_101
When I call the facerec script function
Complex_101
In the views to fill the model variable
Complex_101
Then I pass the image taken through request.data
Complex_101
What should.i replace it with
Anonymous
With the value you have given?
Default set false or true
IN AFRICA
How to Sign up google auth in django ?
https://www.section.io/engineering-education/django-google-oauth/
Eugene
Google has its own documentation
Eugene
I believe
Eugene
By the way, does anybody know good free analog c3b?
Anonymous
Any project idea
Arun
How to integrate terminal or shell console in Django web page