Anonymous
Crontab it's installed with base system
Anonymous
Not sure what are all packages needs to be installed for it
What gnu/Linux distribution have u installed!?
Anonymous
Can't we install it in conda prompt
Anonymous
Does anyone know restful API? I need help.
Doragonsureiyā
Does anyone know restful API? I need help.
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
Andrej
The most of the people know in this group. Don't ask meta question. Ask directly your question and the people will answer you. Read: http://catb.org/~esr/faqs/smart-questions.html
Shaikha
How can I pass a timestamp model field to celery and to execute the task at that timeframe ?
inchidi
Anonymous
No one knows 😒
How could you say that no one knows rest api?
Jamil
Hey guys, will the serializer allow a blank field through it
Tamim
Hey guys I need a module for post hit counter. But I just found Django-hitcountrr that it's for detailView, but I need for list view. There is any tutorial or module for this?
I'm
Hey anyone here knows how can I display value of JS variable in views
Anonymous
Use ajax call to pass the js variables in views
Anonymous
Can not use favicon in html page. How to solve that? Image appears in source code.
Shihasz
Use ajax call to pass the js variables in views
Learn and apply. If u get stuck ask here.
Paschaljet
hi fam. i try to save or edit a user using my django data base, i get this error......IntegrityError at /admin/accounts/user/2/change/ NOT NULL constraint failed: accounts_user.password
Paschaljet
please can someone help me with a solution....im using a custom Usermodel
Anonymous
login authenticate is not workinf in customuser for phone no. registreation
Anonymous
can any one help me?
Jamil
can you drop a link
Jamil
?
FS
https://medium.com/@shekhar.opichius/deploy-django-application-on-the-nginx-deployment-server-117926d93e78?source=your_stories_page---------------------------
Anonymous
I am making a e-commerce webstie but i'm stuck by the payment form there is a error that can't solve
Anonymous
Can any one help me please?
✙Yaroslav
how fixed this error? ModuleNotFoundError: No module named 'environ'
Himanshu
how fixed this error? ModuleNotFoundError: No module named 'environ'
pip install django-environ 🤷‍♂️🤷‍♂️
✙Yaroslav
Himanshu
Requirement already satisfied
Then make sure you are running the stuff under right virtual environment.
Himanshu
in the right environment
Weird. Can you do python manage.py shell and run import environ and see if it works.
Himanshu
Can you describe more where it doesn't work? Like, when you run django, where you have used this that it doesn't work? Is it possible to share Traceback via pastebin or something?
✙Yaroslav
Can you describe more where it doesn't work? Like, when you run django, where you have used this that it doesn't work? Is it possible to share Traceback via pastebin or something?
When I try to run tests with sudo python manage.py test my_app I saw this error: 'No module named Django.core.managment'
Himanshu
sudo python3.7 ain't your virtualenv is my best guess right now.
Himanshu
Do sudo python manage.py shell and import. Does it work?
Himanshu
Also why why why sudo?
✙Yaroslav
Do sudo python manage.py shell and import. Does it work?
Not work, no module named Django.core.managment
Muflone
Also why why why sudo?
"Whenever I don't know what I'm doing I add sudo"
Himanshu
I hope you understand now. How did you run the shell when it worked?
Himanshu
"Whenever I don't know what I'm doing I add sudo"
That is exactly when one should not add sudo.
✙Yaroslav
I hope you understand now. How did you run the shell when it worked?
without a sudo, I do not have the right to create a temporary database
✙Yaroslav
That is exactly when one should not add sudo.
Got an error creating the test database:
Himanshu
?. Edit pg_hba to allow password auth and create a user and use that user.
Muflone
That is exactly when one should not add sudo.
Are you telling me I shouldn't add sudo when my script refuses to work for an Invalid Syntax error? No way!
✙Yaroslav
?. Edit pg_hba to allow password auth and create a user and use that user.
But I have user for my work db, how do I use it for a temporary database?
✙Yaroslav
Omg
✙Yaroslav
should have added this if 'test' in sys.argv: DATABASES['default'] = { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'mydatabase' } in my settings file. Thanks for helps
Himanshu
🤷‍♂️🤷‍♂️ I still don't understand the hustle though. Why sudo?
Himanshu
I assumed you are using postgres and hence sudo because I have met similar users in the past.
Jamil
Hey guys, will the serializer raise an error if a blank field serializes through it
Jamil
yes r no
Jamil
i mean, do i have to override the validate function
Jamil
for it to do that?
Jamil
I am talking By default
Mirco
I am talking By default
If you use allow_blank equals to False then the serializer will raise the error
Jamil
Yeah true
Jamil
But I just found out by default it raises an error, bcs all model fields are by default required
Mirco
By default it's set to False so it's normal
Anonymous
Hi all, I'm building one django application. I'm calling products from backend and wanted to show them in the Home page. When I'm using "url ('', views.ItemList,name = 'home'),". It's showing Image couldn't be loaded where as when I'm using "url ('Item/', views.ItemList,name = 'home')," it's working fine. I tried but couldn't find the issue with the first URL.Pls help me out.
Hamirul
Does anyone know where to learn django for affiliate/reference system applications course ?
Anonymous
Send your urls file...so we can check
The issue is fixed now. Thank you
Anurag
how can i know that the user1 is currently using wesite ...so that i can show other user2 that user1 is online