{% Mohammed ALKHAFAJI %}
Like roadmap
.
Hi guys, I need a plan to learn django and focus on all the important things that lead to professional Any advice?
The documentation is an excellent resource for this. At least for once, read everything in there. It’s okay if you don’t fully understand or use all of them yet, because the main purpose is to prime your mind and memory to be familiar with all the concepts and keywords.
.
Like roadmap
Make the list here your roadmap https://docs.djangoproject.com/en/4.1/topics/
Sheffin
Hi all, has any used elastic search in django if yes can you share me the document followed
AWS
Plz give solutions
Doragonsureiyā
Plz give solutions
We're not here to do your job for you. This group is to help you on specific issues you have in YOUR code, so you have to show the code you wrote by yourself and explain where and why you are stuck... as simple as that. 🤷🏻‍♂️
Vp
I have json format url....it should be like Data=request.get(url).json()... provided we update template variable name to match the key names of XKCD(url) json interface
Vp
Please help
Sahar
our system is letting two users reserve a car simultaneously. Do you have any idea that how can I write a unit test for it?
Sahar
Unit test to prevent two people from reserving the same car?
No, unit test to check this out. For excample if I fix this problem and want to check it
Sahar
No, unit test to check this out. For excample if I fix this problem and want to check it
We have something like bulk_create but it only test the model when creating objects, I want similar thing for user's request.
Morteza
our system is letting two users reserve a car simultaneously. Do you have any idea that how can I write a unit test for it?
You have to provide more info we can't help you like this. unit tests are based on the code implementation
Саша
Hi everyone, i have i question)
Саша
Is it possible to catch such a path in urls? http://127.0.0.1:8000/show_contacts/?search_key=Alex
Саша
I want to wake up the search_key value in a function
Tура
clubs=Club.objects.filter(studies__study__icontains=club_char) is returning same club as the some club has multiple studies, how to avoid it
Y
Hello Someone's can you help me to deploy my django app on pythonanywhere? Or if you are some documents that explain deployment
Y
I have some difficulties since the bash console, I can't clone my project repository
Y
I need some help
⁣
I have some difficulties since the bash console, I can't clone my project repository
What kind of error? Maybe you have a closed repository with the project? Here is a guide from pythonanywhere themselves
Y
What kind of error? Maybe you have a closed repository with the project? Here is a guide from pythonanywhere themselves
If I want to clone my repository on pythonanywhere. It is recommended for me to use ssh , when I try it ,I have some error which say that: 'please make sure you have the correct access rights and the repository exists'.
Y
Yes, I have private repository! Thanks you for the assistance!
eugene
hey, anyone knows how to deal with this problem? https://stackoverflow.com/questions/70433784/request-files-get-is-empty-in-a-django-project
eugene
just like in example i have empty data instead of file, i'm checkin if it's POST method, but nothing helps
Shinchan
Hi everyone, I am trying to apply default throttling(in local system) in a class view using throttle_classes but its not working, Can any tell what might be the reason for this
TJ......😎
Has anyone done music player using django?
Y
Hi. I try to create virtual environment in pythonanywhere but this isn't work. I have this error: FileNotFoundError
Y
Someone's can you help me please
Y
Hey. I guess you should do like this: mkvirtualenv myenv
That's working But this command install other python version(3.9.5) I was build app with python 3.10
ㅤ
Thanks you
Your welcome <3 https://m.youtube.com/watch?v=SeWoEv54x8k Maybe this video can help i learnt from this
Y
I have some problems to install requirements when I use this command: pip install -r requirements.txt
ㅤ
H
hi guys
H
do you know why can not create app inside project
H
?
Somesh
Hi, guys! I used threading in my project it's will take more then 2 min to finish the task. I want to show it's ongoing execution on frontend I have tried with web socket I wouldn't find any best solution.. how can I achieve this task...!
Y
do you know why can not create app inside project
Which command are you use to create your app?
H
app1 name of my app but gets error
H
im using window
0x01
app1 name of my app but gets error
I think you need to state the error you’re getting to get answers
H
should i write erorr here
H
can't open file 'C:\\Users\\havab\\OneDrive\\Desktop\\ecomm\\ec\\manage.py': [Errno 2] No such file or directory
H
this is what i see in terminal
Behnam
this is what i see in terminal
it's not terminal bro it's cmd :)
H
it's not terminal bro it's cmd :)
i know bro but i say this way terminal in vs code ;)
Somesh
py manage.py startapp app1
Please navigate right path from command prompt find location where manage.py file sites then run python manage.py startapp app1
H
how?
Somesh
outside of ec i can create tho but i need inside okay i will check this
manage.py command runs only within directory location
Somesh
Please check and let me know..
0x01
how?
When you run the startproject command. A folder named “project name” is created is created inside “project name”. The latter is where you have manage.py. You have to navigate to that folder to run the startapp command
Delnold
manage.py command runs only within directory location
He can actually specify a full path, to test it.
Y
can't open file 'C:\\Users\\havab\\OneDrive\\Desktop\\ecomm\\ec\\manage.py': [Errno 2] No such file or directory
I think that problem is your path. You must inside ecomm to create app , because ecomm contain manage.py file
H
(venv) PS C:\Users\havab\OneDrive\Desktop\ecomm> py manage.py startapp app1 (venv) PS C:\Users\havab\OneDrive\Desktop\ecomm>
H
it is okay
H
i did
H
i cretaed inside ecomm
Y
i cretaed inside ecomm
That's good method
H
i thought that i was wrong
H
thats why i asked here
Delnold
im a girl guys :)
Sorry for that 😅
H
sorry for my english (;
Somesh
how?
If you have installed django in virtual environment please activate and navigate to main project where manage.py file location run ur python manage.oy startapp app1 command
H
i did py -m venv venv
H
venv\Scripts\activate
Somesh
i did py -m venv venv
So, still u are unable to create app?
H
then install django