django-chronograph

failed to install django-chronograph in django 1.7

有些话、适合烂在心里 提交于 2019-12-12 21:31:19
问题 I tried to install django-chronograph to django-1.7 for assigning scheduled task in my django web-app. I followed the instruction as shown here but it gives me the following error when running python manage.py makemigrations or python manage.py syncdb : user@(none):~/mysite$ python manage.py makemigrations Traceback (most recent call last): File "manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py

Django custom management commands from admin interface

流过昼夜 提交于 2019-12-12 13:21:34
问题 I asked a previous question getting a django command to run on a schedule. I got a solution for that question, but I still want to get my commands to run from the admin interface. The obstacle I'm hitting is that my custom management commands aren't getting recognized once I get to the admin interface. I traced this back to the __init__.py file of the django/core/management utility. There seems to be some strange behavior going on. When the server first comes up, a dictionary variable