Requirements
Requires a Stripe.js account: Currently Senex Shop only supports Stripe as a payment backend. As such the setting is permanently required. Once more payment backends are added this will be configurable in the admin.
Packages
Add the following to your requirements.txt:
Django==1.7.5 django-braces==1.4.0 django-model-utils==2.0.3 easy-thumbnails==2.2 pytz==2014.4 django-senex-shop==0.2.2
Settings
Configure your Settings:
MIDDLEWARE_CLASSES = (
'...',
'senex_shop.cart.middleware.CartMiddleware',
'...',
)
TEMPLATE_CONTEXT_PROCESSORS = (
'...',
'senex_shop.core.context_processors.get_default_shop',
'...',
)
INSTALLED_APPS = (
'...',
'localflavor',
'easy_thumbnails',
'senex_shop',
'senex_shop.cart',
'senex_shop.contact',
'senex_shop.checkout',
'senex_shop.core',
'senex_shop.custom',
'senex_shop.discounts',
'senex_shop.news',
'senex_shop.shipping',
)
########## THUMBNAIL CONFIGURATION
# See: http://easy-thumbnails.readthedocs.org/en/latest/ref/settings/
THUMBNAIL_BASEDIR = 'thumbs'
########## END THUMBNAIL CONFIGURATION
from os import environ
########## STRIPE CONFIGURATION
# See: http://django-stripe-payments.readthedocs.org/en/latest/installation.html
STRIPE_PUBLIC_KEY = environ.get("STRIPE_PUBLIC_KEY", "pk_test_publickey")
STRIPE_SECRET_KEY = environ.get("STRIPE_SECRET_KEY", "sk_test_privatekey")
########## END STRIPE
URLs:
url(r'^checkout/', include('senex_shop.checkout.urls')),
url(r'^cart/', include('senex_shop.cart.urls')),
url(r'^shop/', include('senex_shop.urls')),
url(r'^account/', include('custom_auth.urls')),
Finally:
Run ./manage.py migrate Run ./manage.py createsuperuser
Metadata
Release files for django-senex-shop 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-senex-shop-0.3.3.tar.gz | 65.2 kB | Without provenance | Details for django-senex-shop-0.3.3.tar.gz |
Release files / django-senex-shop-0.3.3.tar.gz
| Download URL | django-senex-shop-0.3.3.tar.gz |
|---|---|
| Size | 65.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7aceb7eb0838fe409ed547f685901a12ba1f91028f116c7c7795c5bff73ed99d
|
|
BLAKE2b-256 checksum How to use checksums |
c7fedb55ce47f1b6b65ebf68534995b640d6d3a44013c8c7069b097db111f63d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-senex-shop 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.