Coder Social home page Coder Social logo

wolfterro / django-simple-coupons Goto Github PK

View Code? Open in Web Editor NEW
18.0 2.0 20.0 149 KB

A Django app that makes the use of coupons a simple task!

License: MIT License

Makefile 1.01% Python 98.99%
django django-application django-project django-coupons django-simple-coupons coupons coupon-code-generator django-ecommerce

django-simple-coupons's Introduction

django-simple-coupons

A Django app that makes the use of coupons a simple task!

PyPI v0.5 MIT License Docs

django-simple-coupons is a simple Django app to create and use promotional coupons in your website.

Downloading

django-simple-coupons is available on The Python Package Index (PyPI). You can simply use pip to install it:

$ pip install django-simple-coupons

Installing

1 - Add django_simple_coupons inside INSTALLED_APPS in settings.py:

INSTALLED_APPS = [
        ...
        'django_simple_coupons',
]

2 - (Optional) If you want to use more than 12 chars (default) for your coupon code, add DSC_COUPON_CODE_LENGTH variable in settings.py:

DSC_COUPON_CODE_LENGTH = 16

3 - Run the migrations:

$ python manage.py makemigrations
$ python manage.py migrate

And that's it! django-simple-coupons should appear in your admin as Simple Coupons.

Changelog

https://github.com/Wolfterro/django-simple-coupons/blob/master/CHANGELOG.txt

Documentation

https://github.com/Wolfterro/django-simple-coupons/blob/master/docs/README.md

django-simple-coupons's People

Contributors

wolfgangpires avatar wolfterro avatar

Stargazers

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

Watchers

 avatar  avatar

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.