Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Internet > HTTP (WWW)

    django-shop-simplenotifications 0.1.2

    Download button

    No screenshots available
    Downloads: 131  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Martin Brochhaus | More programs
    BSD License / FREE
    August 4th, 2011, 10:14 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    django-shop-simplenotifications description

    A simple reusable app for django-shop that sends emailnotifications on certain events

    django-shop-simplenotifications is a dead simple approach on email notifications for django-shop. The goal of this app is to hook into django-shop's various signals in order to send emails to the shop owner and to the buyer on certain events.

    Installation

    Install this package into your virtualenv:

    pip install django-shop-simplenotifications

    Add the app to your INSTALLED_APPS setting:

    INSTALLED_APPS = (
     ...
     'shop_simplenotifications',
    )


    Configuration

    SN_FROM_EMAIL

    Default: DEFAULT_FROM_EMAIL

    The from address for your automated emails. Example:

    SN_EMAIL_FROM = 'noreply@myshop.com'

    SN_OWNERS

    Default: ADMINS

    A tuple that lists people who get notifications about new incoming orders and payments. Each member of the tuple should be a tuple of (Full name, email address). Example:

    (('John', 'john@example.com'), ('Mary', 'mary@example.com'))

    Templates

    In order to easily provide notifications with the wording and formatting of your choice, there are templates for all email subjects and bodies. In order to override the defaults, add the folowing templates to your templates/shop_simplenotifications/ folder:

    - confirmed_subject.html
    - confirmed_body.html
    - payment_instructions_subject.html
    - payment_instructions_body.html

    All templates have a request and an order variable in their context.

    Features

    - When a buyer completes his order, the shop owners get a notification mail
    - All notification emails can be easily templated.

    Testing

    If you want to contribute to this project and quickly need to run the test-suite, you need to do the following steps:

    - create a virtual environment
    - fork this repository
    - install this package into your virtual environment
    - manually install the django-shop dependency (this step will be gone soon)
    - execute runtests.py

    Example:

    mkvirtualenv -p python2.7 yourenvname
    workon yourenvname
    git clone git://github.com/bitmazk/django-shop-simplenotifications.git
    cd django-shop-simplenotifications
    python setup.py install
    pip install -e git+git://github.com/divio/django-shop.git#egg=shop
    cd shop_simplenotifications/tests
    ./runtests.py



    Product's homepage

    Requirements:

    · Python
    · django-shop
    · Django

      


    TAGS:

    email notification | django-shop notification | Django | django-shop | notification

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM