Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove django sites, add new payments config

Michal Ociepka886c3fae3867
diff --git a/saleor/settings.py b/saleor/settings.py
index 28d65f22d0..461bba458d 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -89,7 +89,6 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
- 'django.contrib.sites',
# External apps
'south',
@@ -185,6 +184,8 @@ GOOGLE_CLIENT_ID = "YOUR_GOOGLE_APP_ID"
GOOGLE_SECRET = "YOUR_GOOGLE_APP_SECRET"
+PAYMENT_BASE_URL = 'http://%s/' % CANONICAL_HOSTNAME
+
PAYMENT_MODEL = "payment.Payment"
PAYMENT_VARIANTS = {