Tonnie
I have created a django project and when i try to run it i get this error: "ImportError: cannot import name 'FieldDoesNotExist' from django.db.models'" Any help please
Tonnie
Is this error not clear enough?
I am new to django please help
Anonymous
I am new to django please help
You'll already know what this error mean when you was learning python basics
Sibi
Can u send pic
Doragonsureiyā
Can u send pic
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev If you posted a wall of text, go back and delete it.
Saurabh
async_task(path.method_name) not working correctly.
Saurabh
Any help?
shashikant
While using django channels ,we create an chatroom ,i want to store chat room in model ,so that can show a logined user ,whom they have chat in the past.how can we do this this?
HamidReza Fekri
hey I have two models product and Image beacuse I have many Image for one product I put foreign key from Image to product how to use Images in product template????
Вин Король Саксов
how ??
Google it
HamidReza Fekri
Bwaks
By default it will look for the template at the template dir/ namespace/article_list.html
And why can't it go to the template for categorylistview
Mo
Hi, does any one know about how Django get mongo objectid ?
googly
Hi, does any one know about how Django get mongo objectid ?
https://stackoverflow.com/questions/40814699/django-querying-mongodb-objectids-in-views-from-json-object
googly
use this
Mansi
I have a main project and project table ..so requirement is one major project will many projects and under projects we will have files uploaded from ui.. How we can create this ...??
Real
hello everyone im using scrapy and django together well, for writing crawled data to db and using django models we need to use djangoItem extension i know there are tricky ways instead of djangoItem but i want a solution for djangoitem. the problem is how can i assign multiple model to djnagoitem normally we just can assign only a model to each item class at least this all i know at this moment. i want to write my crawled data in 2 separate table of db. there is an open issue in djangoitem's repo on github about this topic but no answer since 2016 :)) is anybody here that can help me to handle this problem?
Прекрасное
give advice please, getting ModuleNotFoundError: No module named 'advanced_filters’, how to find ’advanced_filters’? through Ctrl + O there is nowhere, I remember that I wrote it somewhere, but I can't find it, I look in the history of the git, there is nothing there either
Vk
How to work with blockchain.
Doragonsureiyā
How to work with blockchain.
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
卐 𐎷𐏃𐎼𐎠𐎴 卐
Hi I want authenticated with Google account in drf I use google-auth package When use proxy in system, this is OK But without proxy ==> don't work and Error = could not fetch certificates at https://www.googleapis.com/oauth2/v1/certs (TransportError) How can let me fix this problem (Google has boycotted Iran)
Chikal
bro, if I made a django with 2.2 LTS version, then I want to upgrade with 3.2 version, am I have to re-code the program at the beginning ?
Mirco
bro, if I made a django with 2.2 LTS version, then I want to upgrade with 3.2 version, am I have to re-code the program at the beginning ?
no, but don't upgrade directly to 3.2 3.0 then 3.1 and 3.2 so you can update part of your code that needs refactoring
Anonymous
Hii
Unique@pp++
Hii
Helllo
Anonymous
Will you pls
Anonymous
Help me
Anonymous
How to make apis
Anonymous
❓
Doragonsureiyā
How to make apis
Are you looking for Django REST Framework documentation? Here you have it: https://www.django-rest-framework.org/
Прекрасное
how to upgrade django-filter ?
Прекрасное
have only pip install django-filter but it dont upgrade django-filter
Прекрасное
i have version 2.2.0, want to upgrade before 2.4.0
yusof
i have version 2.2.0, want to upgrade before 2.4.0
pip install <package_name> --upgrade
Sherry
have anyone used django -editor -js fields
Прекрасное
pip install <package_name> --upgrade
answer: bash: pip: command not found
Прекрасное
pip - this is my separate and long history and problem
yusof
Прекрасное
mac
yusof
mac
pip3 install --upgrade <package name>
Прекрасное
Successfully uninstalled pip-21.2.3 WARNING: The scripts pip, pip3 and pip3.9 are installed in '/Library/Frameworks/Python.framework/Versions/3.9/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed pip-21.2.3 MacBook-Air-Squidward:api work$ pip --version bash: pip: command not found
Прекрасное
Прекрасное
thanks
Kamran
Can anyone help me, I have two models one is "doctor" and the other is "patient" doctor have a "time slot details field" as well as "date field" and I need to access the time slot data field whose doctor filled and date can anyone tell me how we can do this
Прекрасное
@Forsythe13 MacBook-Air-Squidward:api work$ pip django --version bash: pip: command not found MacBook-Air-Squidward:api work$ pip3 django --version ERROR: unknown command "django" MacBook-Air-Squidward:api work$ python3 -m django --version 3.2.5 why such?
cj
ah no wait, wait...
cj
why are you NOT using a virtual environment?
Charly
Прекрасное
Do you have pycharm?
I using pycharm
yusof
Irrelevant
I want him to check the packages in pycharm setting
Allexiusw
yusof
I using pycharm
You can install your packages from pycharm setting interpreter
Prashant
Hiii i want to know that when we handover the website to yhe clients how they will manage or maintain the website?
HRITIK
<a class='plus-cart btn' href="{% url 'q_chan' 'minus' {{object.product.id}} %}"><i class='fa fa-plus-square fa-lg'></i></a>
HRITIK
is there any mistaking the code in this way
HRITIK
it is showing the error that
HRITIK
TemplateSyntaxError at /cart/ Could not parse the remainder: '{{object.product.id}}' from '{{object.product.id}}'
Alex
so just remove those braces
Alex
I don't understand.
Alex
And before you try - don't dm me with a photo of your screen.
Alex
🤦‍♂️🤦‍♂️🤦‍♂️
Charly
Hritik
He did it?
Alex
He did it?
yeah. Exactly with a photo.