Coder Social home page Coder Social logo

jiaaro / django-alert Goto Github PK

View Code? Open in Web Editor NEW
61.0 61.0 15.0 390 KB

Send alerts, notifications, and messages based on events (i.e. signals) in your django application

Home Page: https://github.com/jiaaro/django-alert

License: MIT License

Makefile 0.22% Python 94.78% HTML 5.01%

django-alert's Introduction

JIAARO

…on life, the universe, and everything

django-alert's People

Contributors

dulacp avatar igorkramaric avatar jiaaro avatar umrashrf avatar

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  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

django-alert's Issues

Where to put backends?

I'm not sure where to put alert backends, if I use the existing example and put MyAlertBackend in my alerts.py I get an error like the one below.

Is the convention on where to put these?

Unhandled exception in thread started by <bound method Command.inner_run of <django.contrib.staticfiles.management.commands.runserver.Command object at 0x950d52c>>
Traceback (most recent call last):
File "/home/stu/.virtualenvs/jpc_bt_sas/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 91, in inner_run
self.validate(display_num_errors=True)
File "/home/stu/.virtualenvs/jpc_bt_sas/local/lib/python2.7/site-packages/django/core/management/base.py", line 266, in validate
num_errors = get_validation_errors(s, app)
File "/home/stu/.virtualenvs/jpc_bt_sas/local/lib/python2.7/site-packages/django/core/management/validation.py", line 30, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/home/stu/.virtualenvs/jpc_bt_sas/local/lib/python2.7/site-packages/django/db/models/loading.py", line 158, in get_app_errors
self._populate()
File "/home/stu/.virtualenvs/jpc_bt_sas/local/lib/python2.7/site-packages/django/db/models/loading.py", line 64, in _populate
self.load_app(app_name, True)
File "/home/stu/.virtualenvs/jpc_bt_sas/local/lib/python2.7/site-packages/django/db/models/loading.py", line 88, in load_app
models = import_module('.models', app_name)
File "/home/stu/.virtualenvs/jpc_bt_sas/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
import(name)
File "/home/stu/projects/jpc/git/bt_appointment_system/my_app/models.py", line 340, in
import alerts
File "/home/stu/projects/jpc/git/bt_appointment_system/my_app/alerts.py", line 7, in
class WelcomeAlert(BaseAlert):
File "/home/stu/.virtualenvs/jpc_bt_sas/local/lib/python2.7/site-packages/alert/utils.py", line 38, in new
raise AlertIDAlreadyInUse("The alert ID, "%s" was delared more than once" % new_alert.id)
alert.exceptions.AlertIDAlreadyInUse: The alert ID, "WelcomeAlert" was delared more than once

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.