iiiiiiπoW
Hi How can i add column description/comment through model , i tried adding comment and db_column_comment but showing error got an unexpected keyword argument 'comment' got an unexpected keyword agument 'db_column_comment'
H
I'm trying to download pdf files by running a cronjob in django using the django-crontab app but the files don't seem to be getting downloaded I can see that the requests being made are successful as they return a 200 error code in my logfile What could be the issue anyone?
Masud
https://hasteb.in/uyanarur.sql
Masud
can anyone help me by figouring out where is the problem in updateview
Dharmil
Is there any one who complte full project in Django and create a app or website any kind ??
Kronos
What error
Kotlina²⁰22
It may be everything ... the first u have to check the error and debug it from the error list
Kotlina²⁰22
Send ur error for me
Kronos
What error are you getting
Kotlina²⁰22
Take a pic
Mirco
!rules
Doragonsureiyā
Read the rules before any activity: @PythonRules
Kotlina²⁰22
No
Why not ?
Kotlina²⁰22
Read the rules
Damn ok ... he can send it in private
Mirco
If you read rules, you'd know you can use image sharing tools
Mirco
Or share the error via tools like pastebin
Kotlina²⁰22
Or share the error via tools like pastebin
Yes but it takes the time why we have to waste our time for it ? I mean its not long code its only an error in the teminal
iiiiiiπoW
Hi How can i add column description/comment through model , i tried adding comment and db_column_comment but showing error got an unexpected keyword argument 'comment' got an unexpected keyword agument 'db_column_comment'
Anonymous
in Vscode Unable to imoort 'django.db' pylint(import-error) help please
SNIR
anyone can recommend on python websites for kids ?
Doragonsureiyā
anyone can recommend on python websites for kids ?
looks like you need an offtopic group, please continue this conversation at @pythonofftopic
SNIR
Ok, thank you.
Anonymous
can any one tell how to use model from one app to another app
Anonymous
Hello
Anonymous
do I need to define the datatype once again in the another app or it will take it directly from the database if I am using from models. app import class
Anonymous
This is England's group
Mirco
This is England's group
It's just an English group
Anonymous
Here have any Uzbeks???
Doragonsureiyā
Here have any Uzbeks???
Python groups in other languages: Amharic @python_amharic Arabic @arabipython Armenian @pyerevan_chat Azerbaijani @azepug Chinese @pythonzh German @pythonde Hebrew @pythonisrael Indonesian @pythonid Italian @python_ita @pythonita Kazakh @python_kz Persian @pyfarsi Portuguese @pythonbr @pythonrio Russian @ru_python_beginners @ru_python Spanish @PythonEsp @PythonEnEspanol Swahili @python_eafrica Turkish @python_tr Uzbekistan @python_uz
Anonymous
from yourApp.models import YourModel
Do I need to define all the datatype once again or it will take directly
Anonymous
!ol
What
Bekhruz
Do I need to define all the datatype once again or it will take directly
No, you dont need to. It will take the whole model with its variables and methods
Anonymous
Please help me
Mirco
Please help me
If you don't write your issue , what do you want from us ?
Doragonsureiyā
Please I have mistake
Please don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello I need help on $z" Just ask about your problem directly! With a very high amount of people here the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
Bekhruz
Look at the error, dont be frightened, it's rather helpful for debugging. You should update the database mysqlclient with pip
Bekhruz
in Vscode Unable to imoort 'django.db' pylint(import-error) help please
Make sure your virtualenv is activated in your terminal
Momin
Guys i want to fetch data of only logged in user. I have made a project where user can register,login and can post some text and then i have one more button where user can see his post. So when the user clicks that button its shiw al the title of the post that he posted but when i clicked that title the it did not show the post that user have written
Anonymous
Can anyone help me. I am getting problem to fetch that logged in user data. Does i have to use primary key in that?
Use primary key to that specific post in your url path, so when the user clicks on a title a url should look smth like "..../posts/1" and inside your view return that post
Momin
Let me try
Anonymous
Let me try
inside urls add path('<int:id>/', views.get_post, name='post') in post title give a attribute href="{% url 'post' id=post.id %}"
Lawrence
Pls, how do I make my existing project be in virtual environment. Thanks
Mindru
virtualenv path/to/project
Mindru
and source bin/activate
Lawrence
OK, but I don't understand
محمد
How can convert django app to exe?
snc
you need frontend to fetch data from backend (Django)
Roman
Hi I am wandering is random uui4 hash good for a slug field ?
Roman
I don't have good field to slugify
Anonymous
How can I add redis caching to django
Doragonsureiyā
How can I add redis caching to django
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 firsts results
Ata
I want to create genuine website please guide someone
Najmiddin
i don't understant what is it error KeyError at /admin/myBlog/menu/4/change/ 'Unknown language code uz. ' Exception Type: KeyError at /admin/myBlog/menu/4/change/ Exception Value: 'Unknown language code uz.'
snc
can we use django tags in frontend like flutter??
Brio Software Club
Hi im new in this community
Brio Software Club
I need develop quickly an django app for make appointments with calendars. Someone can recommend some Git proyect or library. Thks a lot.
Anonymous
hello bros how to make model for multiple authors in per post please share any article or video link
Anonymous
hello bros how to make model for multiple authors in per post please share any article or video link
Volvo
Django docs
अतुल
hello bros how to make model for multiple authors in per post please share any article or video link
https://youtu.be/bRnm8f6Wavk?t=2151 watch this video. he has added authors......
Volvo
How can I add redis caching to django
If you are windows you might get probelms like me 😂. Redis isn't availble for windows .There is a git which have redis .So you will have to a bit in windows. A simple google search will lead you to that git
Doragonsureiyā
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python