Doragonsureiyā
I need django tutor please help
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Somesh
François.𝘀𝗵𝗼𝗽 📦💰
Can i design forms who came with django or i need to create my own form before adding designs it ?
Kishor
Taha
François.𝘀𝗵𝗼𝗽 📦💰
Thanks
PR
Hi, I want to how to send input from web frontend to a python file and display the result on web page. Please provide a reference doc. Thanks
Anonymous
PR
Anonymous
Anonymous
Do you already understand how to work with JSON etc? If so then just refer the DRF tutorial on their docs.
Anonymous
If not, you can still use the DRF docs to build your API but you will have to find other resources on how to build your front end and interact with an API
Shilpy
Can anyone tell what does SITE_ID signify?
Shilpy
Dilmurod
I am working on an e-commerce project and I came across with some problems. The problem is about User and it's Cart. I can not attach the cart to the user. I have been searching an answer to this issue for 3 day but I was not be able to find the answer. Please reply me if someone knows something about this. Links or some kind of resource also would help me. Please don't reject if you can help me.
Brandon
Anonymous
Anonymous
In my opinion it is stupid to manage cart on the backend.
Use cookies or local storage on the front end to store the product id from your database and the quantity the user wants. Validate on checkout.
Dilmurod
Well what is the problem?
I have been trying to do it by watching videos but most coders are doing things which are not useful for me. I just want to add the data to the user but in videos they are (most of them) doing cart for annonimous users and the data not saving
Anonymous
Cart should be a purely front end implementation.
Anonymous
Sigh but if you want to do it in the backend, create a model for a cart that would have a user fk, a product fk and a quantity field.
Dilmurod
I will try to do
Dilmurod
Thanks for attension
Anonymous
Anonymous
Anonymous
which you should be
Dilmurod
Dilmurod
import stripe /// also giving an error: Import "stripe" could not be resolved from sourcePylancereportMissingModuleSource
Dilmurod
What would be the best solution for this guys
Anonymous
Dilmurod
html css bootstrap
Saikat
Guys I'm using DRF with react in front end and new to it so should I have to send form data normally in drf or have to encrypt it ...if yes then how ?
Mirco
Saikat
Ok ,Is there any way of breach ? Like if anyone intercept the network between ?
Saikat
And one more thing like what will be the best way ...to make those api privet not public ..let's say if some authorised person will make a request then they can get the data only ..
Mirco
Sparrow
Saikat
Roberto
Hi all, if I have the login page under the app "users", should I set
login_url = '/users/login/'
inside a class based view with LoginRequiredMixin?
Mirco
Doragonsureiyā
Muhammadamin
{
"id": 8,
"category_id": [
1,
2,
3,
4,
5,
6
],
"active": 1,
"company_id": 1
}
Muhammadamin
Muhammadamin
please If you know help me
Muhammadamin
William
PrimaryKeyRelatedField
https://www.django-rest-framework.org/api-guide/relations/#primarykeyrelatedfield
William
then?
Then, write a query and return the response.
Javlon
need help asap:
django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
Maxim
Javlon
Anonymous
how to create a test (questionnaire) with answer options in django
Vaibhav
Anonymous
Anonymous
i found video in youtube
Vaibhav
yea
Their are fields for that, i think it was radio and check box ... Have a look in django admin docs
Fereshteh
Needs help:
I want to have metadata such as verbosename from table when i am using connection cursor
Rahkmanuly
Hello there!
Does anyone have an experience with creating leads in bitrix?
Rahkmanuly
Via Django
moment_rider
I have this algorithm which recommends 5 movies related to given input.
moment_rider
what I need to is that add my excel data into sqlite
Arshia
how much i should learn about html and css for django
moment_rider
database and render things backend then display it on page how do I do this
moment_rider
can someone provide some Youtube tut or blog for same ?
Vaibhav
moment_rider
yes
Muhammadamin
guys how can I get multiple int number in only one model integerfield
Arshia