Kiran
If you created venv then you need install django again that particular venv
Umut Deniz
I have copied the files from my lib/ site-package files
Kiran
Umut Deniz
Bro i don't have ethenet connection
Vikash
@Blindudv check django version if not found then you not installed it in virtual env then you need to install first..
Charly
Umut Deniz
Umut Deniz
So i just need ethenet dayum
Kiran
Just type ur terminal - pip freeze
Kiran
And see the installed packages you have
Umut Deniz
Can i install from local while using venv
Kiran
I didn't understand
Kiran
What u say
Umut Deniz
Think that u have all the files installed on your pc on a directory
Umut Deniz
Can you install them to the venv
Charly
Umut Deniz
Okay
Kiran
Then you I'll do one thing open terminal globally and pip freeze to get all packages in 1 file its requirement.txt and paste that file in ur venv and just do pip install -r requirement.txt you will get you all packages in ur venv
Umut Deniz
Thx i'll try
Kiran
Pip freeze > requirement.txt
Kiran
It will be automatically generate txt file with all pacakages in ur system
Amarya
Hi, please does anyone know why I am getting this error, I've been on it for a while now
Amarya
_getfullpathname: path should be string
Amarya
I'm trying to create an add product
Hari
Hi guy anyone help me
Hari
For extract the audio from video
Hari
Video is populated from model object
Hari
Please🙏
Doragonsureiyā
For extract the audio from video
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.
Hari
Hari
German
is the normal practise to override save() method in models? I've heard that it isn't good idea, but almost all stackoverflow articles users use it
cj
German
before saving wanna check some fields and use super()
German
i decided my task by other way, anyway would like to receive answer
salar
German
okay, thx)
Venkatesh Akhouri
Hello guys, I've learnt django and want to make some cool intermediate projects to apply my learning
Can someone help me projects
Samvel
hi all i am beginner in python and django, sorry for my English, i have 2 related tables i need that all data to transfer to AJAX
Samvel
my models
Samvel
https://linkode.org/#WGGfIQijX9G5IDvLMPn067
Samvel
viws.py
Samvel
https://linkode.org/#6di3ihT93WB2MaDQB7FK63
Anandu
'''' ValueError at /orders/place_order/
The view orders.views.place_order didn't return an HttpResponse object. It returned None instead. ""
Anandu
i got this error while am doing e commerce site
Anandu
what is the problm
Sophia
hai i have one doubt in models in this ecommerce website,when i tried to create order_id for each orders ,it is creating id for each and every product in orders,how to solve this error,pls help
Anonymous
how i can get objects from two tables those they have foreign keys. i want to do something like join ?
Anonymous
open_answer= AnswerTiket.objects.filter( been_answer='False', receiverID=user)|Tiket.objects.filter( closed='False').count()
Sophia
https://linkode.org/#R6wWgdTxHaD1TXEuQ7YUB2
Amarya
Okay, thank you, I'll check it again
Kim
How import pdf file
Create a model with FileField, and don't forget to use enctype='multipart/form-data on HTML form
Bhawna
Hey can someone help me to make data row clickable and show a dropdown related data show in the bottom of the page how can I pass the I'd on the same page
Mayur
How to build a graph on django Web page using d3.js library
G4st0n
Hello guys, anyone can share some experience with django and cron ? I have a little app on python 3.8 docker image and can't make cron working
Shiv
Hi anyone help me how to get confirmation pop for Django admin panel
Не выходи из комнаты.
Has anyone seen autoformatters for django templates that can also be added to the pre-commit?
Не выходи из комнаты.
As black for Django Templates)
RK
Plz help me how to write models clock in and clock out of employee ..I need to store employee clock in and clock out time in db
gErRyVoY
Hi everyone!
Could you help me please?
I need to make a POST with vanilla JS to a Django Rest Framework API. I try with Postman and I've no problem.
This is my JS code:
let formulario = document.getElementById('datos_formulario');
formulario.addEventListener('submit', e=>{
e.preventDefault();
let datos = new FormData(formulario);
fetch('http://127.0.0.1:8000/api/aspirantes/', {
method: 'POST',
headers: {
'Accept': 'application/json, text/plain, */*',
'Content-type': 'application/json',
},
body: JSON.stringify({data: datos})
}).then((res) => res.json()).then(res => console.log(res))
});
G4st0n
Helle Guys, i have some trouble with API running with django on Docker. Basically i have to do some cron job to send email but not working at all. cron fails or stop at certain point. Im using python3.8-slim-buster docker image to run django project. Any ideas ?
G4st0n
or some approach
Doragonsureiyā
Tips
How to create automatic database schema using 3rd party API
Tips
Shivam
Can anyone have code for face recognition in django
Shivam
Please send
Shivam
Ok thanks bro
T2ABIZZ
im trying to upload multiple images at once
so override the create method and i get this error
Direct assignment to the reverse side of a related set is prohibited. Use images.set() instead.
here is my serializers and models
https://pastebin.com/XMa0cQnX
Anonymous
Hi group
If i wanna learn backend with Django, do i need to know JavaScript first?
Anonymous
Anonymous
Yes, i know the backend languages, i decided to learn Django. I think i'll continue learn Django and then a little of js (i know the basic, no DOM)
Prince
Rrr
.
Implementation of real-world application using Django and Unpoly.
https://github.com/alnuaimi94/realworld