View structure for adding items to cart

This commit is contained in:
Raphael Michel
2015-02-12 12:14:28 +01:00
parent a31602bad9
commit 260266f2d9
5 changed files with 110 additions and 62 deletions

View File

@@ -155,6 +155,14 @@ DEFAULT_CURRENCY = 'EUR'
INTERNAL_IPS = ('127.0.0.1', '::1')
from django.contrib.messages import constants as messages # NOQA
MESSAGE_TAGS = {
messages.INFO: 'alert-info',
messages.ERROR: 'alert-danger',
messages.WARNING: 'alert-warning',
messages.SUCCESS: 'alert-success',
}
try:
from local_settings import * # NOQA
except ImportError: