Uttam
the concept! I don't know what exactly it is or why and when is used. if you can help me, I appreciate your help🙏
There are many explaination available on internet but in my simple words let us suppose if you have website and now you want to scale it and want to make mobile application but you want same database. Now here comes rest API you create rest API of your current website and now you also create mobile application but mobile application request data from your rest API web server ... Hope you understand ...
Gerald
Can anyone send the django tutorial for me
developer.mozilla.org › Server-side Web results Django Web Framework (Python) - Learn web development - MDN Web Docs - Mozilla
Gerald
https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Introduction
Uttam
Then no use. In future it will help if you have one. Sometimes if you want other people to have information from your website directly then create rest API end point and user can directly access information from there
Lokendra
Whats the alternative to REST?
Alex
Whats the alternative to REST?
graphsql, rpc, message queues
Abhishek
How to integrate Paytm payment gateway please help me
Alex
graphsql, rpc, message queues
There is also ancient stories about evil called... SOAP. But these are simply scary stories.
Uttam
How to integrate Paytm payment gateway please help me
I have not implemented yet but there is only one video available on YouTube not able to remember his name but he is very famous in India
Uttam
I want to create a project with react and django. and I don't know which one is should used. django rest framework or django?
Not able to answer perfectly because not familiar with react. But I am sure that best practice will be to use Django Rest Api and rect
Alex
I want to create a project with react and django. and I don't know which one is should used. django rest framework or django?
Start your reasoning with what you want to have in the end. Now think about what you will need to get there.
Bahar
React needs to consume api from django rest framework
so I have no choice except django rest api. and as far as I understand, rest_api's job is transferring the data from database to front end, which mine is react. am I right?
Dmitry
Hi there! Which version of DRF I should use with Django 2.2.10?
Dmitry
I gonna try actual version
Dmitry
Ok, thanks for answer!
Doragonsureiyā
Ok, thanks for answer!
You're welcome! 😊
EscanOr
What's the main difference between REST n RESTFull API
Siddhartha
Is there a group for fastapi?
Alex
Is there a group for fastapi?
you may try to ask in the main python group
Mirco
What's the main difference between REST n RESTFull API
REST is the architectural style RESTFul API is an API built by using that architectural style
Doragonsureiyā
What is meant by architectural style in this context?
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Abhishek
'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', #'functions.context_processors.shop' ],
Abhishek
Anyone know how to use context processor
sheikh
Add a file in your app with name context_processor.py Add function in and return dictionary from that function. Go to setting add this in context processor list 'yourapp. context_processor.fname',
sheikh
And use dictionary variable name in your template
sheikh
Keyname
Yuvi
How to fetch image using django
Melvin
Hey, When I configute my mail client and try to send a mail I get SMTPServerDisconnected Error It says please run connect() first. But I am not sure on what object I should run connect(). Can someone help
Sid
from django.contrib.auth.models import User >>> from blog.models import Post >>> user =User.objects.get(username='admin') Traceback (most recent call last): File "<console>", line 1, in <module> File "C:\Users\hp\Envs\sid\lib\site-packages\django\db\models\manager.py", line 82, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "C:\Users\hp\Envs\sid\lib\site-packages\django\db\models\query.py", line 415, in get raise self.model.DoesNotExist( django.contrib.auth.models.User.DoesNotExist: User matching query does not exist. >>> user =User.objects.get(username='admin')
Melvin
How to overcome this error
This is because the user you are trying to fetch does not exist in the database. You can use a try catch block and then return a custom error message
Melvin
No worries mate
purva
what package should be used to async logging in django?
Krithika
How to fetch image from db to ui in django?
sheikh
what package should be used to async logging in django?
In django 3 you can use async views. Or if you want to do logging in background use threads
Dev
Hot to pass foreignkey value in json
sheikh
How to fetch image from db to ui in django?
Which field you are using in model for images?
Krithika
I'm capturing image using cv2 and saving it in dataset
Ismail
hello , how i can divide some table attributes into days, weeks, month and all time in django models
Anonymous
you can compare online the different databases and select the one that fits..
Btn Mysql and Postgresql which is the most effective on django web development?
Ismail
Aditya
Help me guys
Use Model.id to record the value and pass the same
Anonymous
Anybody worked with grapgql??
Alex
Help me guys
Behind the scene ForeignKey field is actually an ID of another model class Spam(models.Model): pass class Ham(models.Model): spam = models.ForeignKey(Spam) .... ham.spam_id # id of a related spam
Deleted
Hey guys, any software to modify html in django just by draging widget?
Dev
Thank you guys
Uttam
Hey guys, any software to modify html in django just by draging widget?
Try 8b.io made template there publish site then open url. Then open page source code copy it and past it to any HTML file on your computer. Now create django backend and connect template with it.
Deleted
change one by one in the HTML file is time-consuming
Uttam
Hire some developer
enansi
Hi all, I'm using native Django Groups and Permissions, what's a good way to pass permission from my DRF backend to my frontend? So that a user that didn't have permissions to view a module will not even see the menu item on the React JS UI?
Anonymous
Hey !! I'm unable to start my PostgresSQL Database
Anonymous
There is error coming ( more is not recognised as internal or external command )
Anonymous
I already set the PATH ( c:\program\PostgresSQL\ scripts
Anonymous
Like i have two different paths ( Python & PostgresSQL ) in same PATH variable
Anonymous
With ; separated
Anonymous
What should i do start it
Omair
Like i have two different paths ( Python & PostgresSQL ) in same PATH variable
Thats fine, thats how its supposed to be. Additionally thats a doubt regarding python not django so you will have better success here https://t.me/Python.
Anonymous
But it's regarding Database
Anonymous
It's general