Code Monkey home page Code Monkey logo

django-triggers's People

Contributors

anaisools avatar duologic avatar jonassteur avatar joncasdam avatar kvsn avatar mhemeryck avatar mrbox avatar nielsvanoch avatar oliviersels avatar pieterdd avatar sgillis avatar stevenrkm avatar waelburgs-kevin avatar walrusgumboot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-triggers's Issues

How process delayed triggers?

Hi!

I have integrated this handy app into my project because I'm interested in trigger delayed actions. Fot this I have created a no proxy model with the needed fields and all the business actions located in the _process() model function.

But I have some doubts:

  1. How can start delayed created triggers?
  2. I need some additional configuration or configure a Celery Django app?
  3. I have seen in djtriggers app that exists a function called process_triggers() that can invoke all active triggers synchronously or in a Celery task. It's needed to program a scheduler with Celery to invoke this function periodically?

An example of my delayed trigger object creation at this moment:

trigger = ActionTrigger(data1=data1, data1=data2)
trigger.process_after = timezone.now() +  timedelta(minutes=10)
trigger.save()

I will be very grateful for the help.

Thanks for all!

release 2.1.4.tar.gz : pip is broken

I can't install django-triggers==2.1.4 using pip.
By default pip uploads the tar.gz package stored on PyPI servers, but this one is broken.
It does not contains a "requirements" folder, so the installation failed.

My workaround is to proceed with the 2.1.4.zip version available on github.

# pip install https://github.com/vikingco/django-triggers/archive/2.1.4.zip

Thank you very much for those bytes. :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.