PV
Martín
Thanks
Martín
Ok. I will test this
PV
PV
Sabu Siyad
Sabu Siyad
Use crontab -e
Sabu Siyad
> crontab -e
> * * * * * python /absolute/path
And you'll be good
Sabu Siyad
Sabu Siyad
Also for python's sake, use some/venv/python not the system default one
am π
am π
am π
*/2 * * * * /home/ubuntu/amit/python3 main.py
Sabu Siyad
Sabu Siyad
*/2 * * * * python3 /home/ubuntu/amit/main.py
Sabu Siyad
Or wherever your main.py is
Sabu Siyad
Mirco
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
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
Anonymous
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
Gourav
Yoi
Maybe url.py have some issues
Yoi
Gourav
Show me ur urls file
Yoi
Yeah wait can i DM?
Gourav
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
D4RK
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 ?
Rohan
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
PV
Marcos
are you using paginator ?
⟨ Simon |
Sqlite is a toy
necro, but it's arguably the most tested DB out there
D4RK
cj
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