fidals/refarm-site


Django applications with simple ecommerce functions

License: MIT

Language: Python

Keywords: django, django-apps, ecommerce, pdd, refarm-site


https://travis-ci.org/fidals/refarm-site.svg?branch=master

Pages

Provides basic pages functionality to your Django project.

Quick start

  1. Install the refarm-site app in your Django project

pip install -e git://github.com/fidals/refarm-site.git#egg=refarm-site

  1. Add pages app to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'pages',
    ]
    
  2. Include the pages URLconf in your project urls.py like this:

    url(r'^pages/', include('pages.urls')),
    
  3. Run python manage.py migrate to apply migrations.

  4. Visit http://127.0.0.1:8000/pages/ to view pages list

eCommerce

eCommerce is a simple Django app which provides basic functionality for a typical e-commerce shop.

Quick start

  1. Add "ecommerce" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [

    ... 'ecommerce',

    ]

  2. Include the eCommerce URLconf in your project urls.py like this:

    url(r'^shop/', include('ecommerce.urls')),

  3. Define constants in your settings.py:

    CART_ID = 'cart' # key for storing cart's object in user session

    PRODUCT_MODEL = 'catalog.Product' # model which should be stored in cart

    SEND_MAIL = True # Would you like to send mails with order information? NOTE: You must have working SMTP

    SHOP_EMAIL = 'your@amazing.shop' # From this email letters will be sent.

  1. Run python manage.py makemigrations ecommerce to create migrations.
  2. python manage.py migrate to apply them.
  3. Now you can use eCommerce app in your project.

Catalog

Catalog is a simple Django app which provides basic functionality for a typical e-commerce catalog.

Quick start

  1. Add "catalog" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'catalog',
    ]
    
  2. Include the catalog URLconf in your project urls.py like this:

    url(r'^catalog/', include('catalog.urls')),
    
  3. Run python manage.py migrate

  4. Visit http://127.0.0.1:8000/catalog/ to view category tree

Project Statistics

Sourcerank 4
Repository Size 1.01 MB
Stars 2
Forks 0
Watchers 12
Open issues 31
Dependencies 5
Contributors 6
Tags 67
Created
Last updated
Last pushed

Top Contributors See all

duker33 Artemiy YozhEzhi Dima Veselov Oleg Biriukov Egor

Recent Tags See all

0.5.8 April 11, 2019
0.5.7 April 09, 2019
0.5.6 April 04, 2019
0.5.5 March 29, 2019
0.5.4 March 25, 2019
0.5.3 March 16, 2019
0.5.2 March 16, 2019
0.5.1 March 15, 2019
0.5.0 March 06, 2019
0.4.40 March 01, 2019
0.4.39 February 26, 2019
0.4.38 February 24, 2019
0.4.37 February 22, 2019
0.4.36 February 22, 2019
0.4.35 February 22, 2019

Something wrong with this page? Make a suggestion

Last synced: 2017-05-19 13:07:04 UTC

Login to resync this repository