On 18/02/2020 6:16 pm, Soumen Khatua wrote:
Hi Folks,
I want to run a script or url at the time of django server loading.So
Does this possible,If yes could you tell me,How?
If the code in your script returns immediately (ie is non-blocking) then
add something like this to the end of it ...
python3 /path/to/manage.py runserver --settings=<myproj>.settings
Thank you in advance
Regards,
Soumen
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to django-users+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAPUw6WYBbCym1SLKTTvEDBz9uYAj1SbcdF%3Dryia%2BdDwpj24%2B-g%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CAPUw6WYBbCym1SLKTTvEDBz9uYAj1SbcdF%3Dryia%2BdDwpj24%2B-g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/9938da3c-590f-f8e8-f61d-263f9f78955d%40dewhirst.com.au.