Metadata-Version: 2.1
Name: django-server-autoreload
Version: 1.4.2
Summary: Python Package for Reloading Django Server at some specific time once every day 
Home-page: https://github.com/odiwuorlameck2019gmail
Author: Odiwuor Lameck
Author-email: odiwuorlameck2019@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: psutil
Requires-Dist: schedule




# 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.
# """
# Enter Reload Time and App url example: reload_time='03:00',app_url='127.0.0.1:8080'
# """
re_run=Autoreload_Django(reload_time="03:00",app_url="127.0.0.1:8080")   
#  """
#                         Once you have used  reload method avoid using keyboard short cut Ctl + s
#                         if you use ctrl + s after using this method your server will stop responding to requests because reload creates anew django main thread killing the 
#                         the previous thread that was running when you first started the djnago server.
# """
re_run.refresh.start() 






