Skip to main content

Python Package for Reloading Django Server at some specific time once every day,Note: this package only works in django installed in windows os.

Project description

At the top of your setting.py file in django add :

from django_server_autoreload.Django_AutoReloader import Autoreload_Django

At the End of settings.py file add the bellow code.

Avoid using keybordshort shortcuts Ctrl +s or Ctrl + c when using this package ,this will make the server stop responding to requests because this module kills #and creates anew dajngo main thread for you.

re_run=Autoreload_Django(reload_time="03:00",app_url="127.0.0.1:8080")
re_run.refresh.start()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_server_autoreload-1.4.5.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

django_server_autoreload-1.4.5-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page