Doragonsureiyā
What are you talking about?
Alison
Hello guys, vue.js or react with Django?
Doragonsureiyā
Hello guys, vue.js or react with Django?
Your question is not related to Django.
If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Alex
i am trying to show all the rows that has occupied in column roomStatus and created date should be the current in which in this case is on 06 i Have tried it here -> https://ibb.co/pZrdw5s but it gave an error I want to see the raw sql query and the object relational mapping of it
Nat
I was using django import_export and I have a model with 3 fields in which 2 of them is ForeignKey and also are unique constraint. When using the 2 fields in import_id_feilds attribute of the Resource file, any error that occur on this fields will not contain the field name
Daharaaa
How to apply model based permissions to the users in admin panel as we have used customer user model in our project.
Hojiakbar
How to deploy my django to free server, who has video lesson about that with norm understanding
R
Can you help with Django & Vue cli,how to do the development correctly if I want to see the result of the changes in real time, I want to see all the changes in the browser without pre-assembling vue, but in real time, I hope it's clear.
Danilo
Hi guys do you guys have some tutorial to deploy a django application in azure, can be video or write tutorial
root
Hojiakbar
root
Not yet
Try it it's free and you can find some video tutorials on YouTube
Hojiakbar
Thank you✊🏻
Daharaaa
Duong Chan Troi
!ol
Doragonsureiyā
Python groups in other languages
(‼️ Not managed by us ‼️)
Amharic @python_amharic
Arabic @arabipython
Azerbaijani @azepug
Chinese @pythonzh
French @python_francais
German @pythonde
Hebrew @pythonisrael
Hindi @pyhindi
Tamil @pythontamilcommunity
Indonesian @pythonid
Italian @python_ita @pythonita
Kazakh @python_kz
Malaysia @pythonmalaysia
Persian @pyfarsi
Portuguese @pythonbr
Russian @ru_python_beginners @ru_python @python_scripts
Spanish @PythonEsp
Swahili @python_eafrica
Turkish @python_tr
Uzbek @python_uz
If you have an (active) group you want to add, ask in the meta group, link in the rules page.
Donna
Could you tell me about that in detail?
Donna
Maybe I can help you
.
Import razorpay is showing error in views.py file. Can anyone help ?
Daharaaa
what are you trying to accomplish?
I have used custom user model instead of default user model of django. In default user model, we can give permissions for different model access in admin but for custom user model we are not using default permissions provided by django, how to achieve that.
Muflone
Muflone
LOL admin access is meant to bypass the permissions
Muflone
don't give them admin access
Muflone
are your users admins?
Daharaaa
Muflone
Yes
what is the admin role for you then?
Muflone
limited users have not to be superusers
Muflone
and your custom user model will work as expected
Daharaaa
what is the admin role for you then?
By giving is staff is true, they can only access admin acess and after giving permissions for specific tables they will be able to do operations on those models only
Muflone
is_staff is for django-admin only
is_superuser is for bypassing permissions
Daharaaa
Yes
Nightbat
Hi guys, Im learning django for ~3 months, i would like to know what kind of projects did you do for portfolio and to get 1st offer?
lucky
Am working on ecommerce project with django i used for loop to append images in views.py
I want users to upload multiple images by selecting one image at a time i used javascript to push and append the images if i select multiple images ta one time all images will be uploaded but if i select one or more times only last image will be uploaded
Please how am to solve this?
Nurmuhammad
Mr Perfect
Mr Perfect
Manoj
should i have to use many to many field in product to image class to add multiple images of same product like in amazon?
S.A
How can we accept a multiple json as a input for an api.
S.A
Anyone pls help me out on this .
S.A
Need to do a push to our system ie dB from elastic search through a push api which can accept a multiple json at a time and do a bulk create or update to dB.
Amir
C:\Users\Amir\AppData\Local\Programs\Python\Python310\python.exe: can't open file 'C:\\Users\\Amir\\Desktop\\New folder (2)\\manage.py': [Errno 2] No such file or directory
Hi how can i solve this
Muflone
you're in the wrong directory
Amir
Muflone
have you created a django project?
Amir
My project its done and in this system i want to run server but i cant
Muflone
a django project is where a manage.py file is
if you have not a manage.py file then you don't have a django project
Amir
Muflone
no
Amir
Muflone
then you're not in the directory where the manage.py file is
Amir
Muflone
cd your-directory
Muflone
do you know what is a directory?
Amir
Muflone
then you should know where you put your project
Muflone
if you lack a manage.py then
1) it's not a django project
2) you're in the wrong directory
Amir
But it didnt work
Muflone
what didn't worked?
Amir
Muflone
where is your manage.py file?
Amir
Muflone
you don't have to send any image, you have to write
Amir
Muflone
take a basic course about shell and OS basics
as a developer you cannot be unable to move in your system
Amir
Muflone
you have to be where the manage.py file is