Martín
Thanks
Martín
Ok. I will test this
Sabu Siyad
https://pastebin.com/z13KM0BM
You have to use absolute path
am π
You have to use absolute path
I made nano main.cron and then load main.cron into Crontab
am π
https://pastebin.com/z13KM0BM
Wheneevr i cronatb -l it shows me this code
Sabu Siyad
Use crontab -e
am π
Use crontab -e
Show me same code that in pastebin
Sabu Siyad
> crontab -e > * * * * * python /absolute/path And you'll be good
Sabu Siyad
Also for python's sake, use some/venv/python not the system default one
Sabu Siyad
With absolute path as well not executing
show me your entry and did you use crontab -e ?
am π
*/2 * * * * /home/ubuntu/amit/python3 main.py
Sabu Siyad
*/2 * * * * python3 /home/ubuntu/amit/main.py
Sabu Siyad
Or wherever your main.py is
am π
Or wherever your main.py is
With ur syntax Still no output
Sabu Siyad
With ur syntax Still no output
Show me the entry again
Doragonsureiyā
Who knows Django and Django Rest Framework
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 49k+ people the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
3g
!meta
I already mentioned my problem
Mirco
Mirco
The key you are looking for doesn't exist into the dictionary
Anonymous
The key you are looking for doesn't exist into the dictionary
dear sir, plz let me know how can i resolve this error
Mirco
dear sir, plz let me know how can i resolve this error
If you don't share any code it's impossible 😊
Mirco
Please use pastebin
Sávio
hello would anyone have any latest django deploy tutorial with Apache?
Anonymous
None
Hello Guys. I want to build microservice architecture with django and golang. I wanna use any MQ. Know about 'nats'. Is there anybody who worked with that?
◇Сущ
Hello, again Some troubles with it https://github.com/aliensowo/mysicaly App worked, but after add db by admin panel - start page pickup the error Traceback https://pastebin.com/aBgR5ntv I think it’s in shop/templates/shop/product/detail But what is
Anonymous
So, i am trying to deploy my django app using linode(ubunut) i have configured everything. But when i navigate to my address on the web, i get a page saying -You should replace this file (located at /var/www/html/index.html). I don't know what to do here, should i really replace the index.html with mine, but again will it work cause it has code block as link to other pages......Please help i am dying here
Anonymous
Hi this app produce 3 and use 2 What should i do to produce one and use one?
Anonymous
Bunty chhatri wala..
This is the app
404 page not found
Yoi
Anyone can help me i have created a simple app using https://www.w3school.in/django-form-processing/ Login.html page is opening after comman python manage.py runserver But when i enter credentials i.e. username & password it doesn't forward to Loggedin.html please see to it
Anonymous
404 page not found
I will send you in PV
Yoi
Plzzz tell the error
No error bro Page isn't forwarding to loggedin.html from login.html
Yoi
Maybe url.py have some issues
Yoi
I will send you in PV
Yeah sure do it
Gourav
Show me ur urls file
Yoi
Yeah wait can i DM?
Harry
Any one python + django 2-4 yrs in hyd php added advantage
Harry
Ping me
D4RK
Hi dears, I have 2 questions: 1-I deploy my project with apache config on ubuntu server but i cant access my ip addres server only acces my url domain 2-http is ok but https cant connect ti my site and i have error I use certbot and say its ok but its not ok !
D4RK
I use this https://certbot.eff.org/lets-encrypt/ubuntubionic-apache.html
This sample of my apache config https://paste.ubuntu.com/p/BtmnMGxtGT/
D4RK
How can fix 2 problem? Ssl(important) Access with ip addres
Michael
Is there any timeline for when we'll be able to enjoy an async ORM?
None
Does anybody work with microservices ?
Doragonsureiyā
Does anybody work with microservices ?
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 49k+ people the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
None
Anyone used technology MB+golang+django?
Sunil
Hi I am working on my first django project where I am supposed to get current month value from the user but at the same time I also need to give them month on month difference. Can I build any function which will enable user to first copy data from current month fields to previous month fields and then provide current month value. I am planning to implement such functionality at managers level so that end-user will view both current month and previous month same and then they will input fresh current month value .. Thanks in advance
Mirco
start your database or adjust database settings into settings file
Mirco
nope, set the right host, pwd , database name etc.
Mirco
4 keys to be set
Mirco
but the main thing is start your database locally
Mirco
if u are in dev mode
V@RG..
👍
Gourav
Use default db by django ie sqlite in dev
Mirco
it's your business by starting database properly
Anonymous
Have you provided the right credentials in the settings.py file for django to connect to postgres?
PV
Use postgres database
Marcos
are you using paginator ?
⟨ Simon |
Sqlite is a toy
necro, but it's arguably the most tested DB out there
vadim
Hello guys, could you please advise how to make indication of Date and Time in datebase when new object was created, currently field Date_Pub = models.DateTimeField(auto_now_add=True), but after a form was submitted - all fields in adminpage filled up except Date_Pub field, how to fix? thanks.
Arturo
You make the migrations already?
vadim
Yes
Muflone
necro, but it's arguably the most tested DB out there
Not really well tested in Django, version 2.1 broke everything, the only solution was to drop the database or fix its schema by hand