I want create twitter-parser, using tweepy – thats ok. But also, i want use django for save and list results. First of all, i met with problem – import my models to the file with parser.
project_path/app_path/daemon.py – how import models? Or maybe for this operations in Django existing more logical way (for some background jobs, but with django)?
first, append
project_pathtosys.pathso python can import it:I think you need to run schedule jobs, the better way to make it is by writing custom command, here is an example of such implementation: https://github.com/tivix/django-cron