Sadra
Hi guys .. Please how convert my web django project to mobile app ... Beacuse it is very hard to build my project from the first
Setup an API service right beside your web server which serves all sort of Rest API endpoints.
بــارون
Why background image in django not ON
بــارون
I try to make
A..
Setup an API service right beside your web server which serves all sort of Rest API endpoints.
Please.. Are there any video explain this points and gives all complete steps
am
Please.. Are there any video explain this points and gives all complete steps
You can go through Django Rest Framework + Flutter + Firebase
Zulfikar
https://stackoverflow.com/questions/38699190/non-default-argument-follows-default-argument Can someone explain this. I cant understand it
GOPINATH
Want to learn Django and dbms. I am good in competitive programming want to become developer, known languages c cpp Java python Any suggestions .....
NXiss7
https://stackoverflow.com/questions/38699190/non-default-argument-follows-default-argument Can someone explain this. I cant understand it
Parameters with default values (optional params) MUST be written after those without one (required params).
Anonymous
Guy how to extract dictionary data for each single variable like below Df=Fox.objects.values('a','b').annotate(qty=count('b'); (S,t,v) =Df If I print Df values display.✓ If I print (S,t,v) values display a,b only
Bhaskar
Hi all
Bhaskar
How to upload a text file to django project?
Bhaskar
Any reference ??
Bhaskar
Or any help
Anonymous
I have an API which takes an input and saves it in User table in database. Only logged in user can access that API. Can I save that input data where the user credentials are saved. This I have- email | password | oneMoreColoum I want to save I/p as- email | password | i/p
Aneesh
How can convert rtsp camera strem to http live streming
Doragonsureiyā
I'm New to django. Where to start
Check out PythonRes, a channel for Python resources - video courses, pdf books, tutorials and other info to help you learn Python.
sammy
How to show an response on RetrieveUpdateDestroyAPIView....???
sammy
How to show an response on RetrieveUpdateDestroyAPIView....???
I want Response Message.. So,can I do it..???
Mirco
How to show an response on RetrieveUpdateDestroyAPIView....???
Yup, by default it returns already a response
sammy
Yup, by default it returns already a response
I want,like If you updated,then it will show,Your (xyx) id has been updated..
sammy
Is anyone know please help me..!
sammy
Otherwise which CBV should I used..???
Hello
Otherwise which CBV should I used..???
You can use APIView Delete something, if deleted peoperly then send response msg with status code ..
Anonymous
I'm getting error - Authentication credentials not provided I have used IsAuthenticated in my views. I'm passing username and password still..
Bunty chhatri wala..
Otherwise which CBV should I used..???
APIView and use the HTTP methods..and send response
sravan
Is there any way to download PDF in DRF api ?
Anonymous
Pass it through postman..
I'm passing through postman only
Mirco
Ok,will try
The CBV you are using is correct You just need to understand how it works
Mirco
APIView and use the HTTP methods..and send response
He can use the generic one and access the same methods
sammy
Anyone here who can help me, About how to do Update operation in APIView..????
Ricky
Go to django and read the docimentation
Anonymous
Template path check kro
sarang
U dont have to use os.path.join in new version Inside Dirs in template just give BASEDIR / 'filename'
Anonymous
Am trying to develop an eccomerce website and am stuck on checkout
Hello
can anybody suggest something
Try sending raw data (type should be application/json )
Hello
Go to django and read the docimentation
Sam +1 Documentation have templeted code for update
Aneesh
How to use one firebase snapshot listeners for multiple collection?
Akshil
Heyy fellow mates - what are the most used packages and libraries in django ?
Pradyum
Hey I have a problem in django models have listed the problem here
Pradyum
https://dpaste.org/MgPa#L25
Pradyum
Could any please give a check why am getting this errors have also listed details in dpaste
Vinayak Kumar
Django project is not working when Debug=False
Vinayak Kumar
What to do
Vinayak Kumar
Allowed host =['*'] Server error 500
Pradyum
In allowed Host do something like this ALLOWED_HOSTS = ['127.0.0.1','localhost','*',]
Pradyum
This shall work
Vinayak Kumar
Nope i have tried all this
Pradyum
otherwise when debug=True its working properly
Vinayak Kumar
Yes
Pradyum
could you please try these two commands makemigrations and migrate commands
Pradyum
I'm getting error - Authentication credentials not provided I have used IsAuthenticated in my views. I'm passing username and password still..
see in login view you have to pass this permissions.AllowAny because if you pass IsAuthenticated then you have to give token in postman therefore this error is coming up
Pradyum
Please pass permission_classes = (permissions.AllowAny,) Tanuja
Pradyum
Anyone here who can help me, About how to do Update operation in APIView..????
Could you please share your code through which we can check Sam
Pradyum
May be I can explain my problem here better
Pradyum
https://stackoverflow.com/q/64242077/7999665
Yash
Which library has easy Implementation for rich text editor in Django/React App. Tinymce/Quill/Slate?
Sadra
Hey guys, Recently, I started a new open source project named "DBMQ" which stands for Docker-based Message Queuing. It's available on Github for free and It's totally relates to Django. I want you to check out the project and give me your thoughts, ideas, suggestions, new features, and etc. You can also start the project by following the article. DBMQ on Github: https://github.com/lnxpy/DBMQ Article on Medium: https://medium.com/@lnxpy/sample-project-in-dbmq-v2-1-d4f8cb41108c Smash the star button if you enjoined it. 😍😊
Anonymous
Hi friends i have face problem need help. how i can detect that this model field is M2M relation. from django.db.models import ManyToManyField ` >>>obj.owner <django.db.models.fields.related_descriptors.create_forward_many_to_many_manager.<locals>.ManyRelatedManager object at 0x7f06d97a8700> >>>isinstance(obj.owner, ManyToManyField) False >>>obj.owner.class.name 'ManyRelatedManager' >> isinstance(obj.owner, ManyToManyDescriptor) False `
Anonymous
Hi, I am facing below issue, can anyone help? Error: Cannot use ImageField because Pillow is not installed. PS: Pillow is already installed in my system
Anonymous
Do Anyone know any other way around to resolve this?
Anonymous
Bunty chhatri wala..
Yes, it's installed on environment as well
Uninstall it..and try to install some other version of pillow
Vinay
I'm facing error in terminal (Microsoft visual studio)
Vitaliy
Uninstall it..and try to install some other version of pillow
Sometimes it may be useful to install some lower version. Strictly speaking, one has to read the docs to understand which versions of libraries are needed for this version of Django and Python.
Anonymous
Anonymous
Can some one tell me how to save two serializers data without errors at same time ?
Sumit
I want to connect dashapp with django, I don't want to use django-plotly-dash library, The reason is that I want to connect dash-upload library with django but getting error when I anm using it with djangodash , the error is djangodash has no config file. Need help , urgently.
Anonymous
Hi