An E-Commerce store for Django Application
Reason this release was yanked:
updated
Project description
Store
An E-Commerce store for Django Application
01. To install and use the package, use:
pip install django-user-login
pip install django-ecom-store
Instructions
02. Add "authentication" and "store" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'authentication',
'store',
]
03. Include the authentication and store URLconfs in your project urls.py like this:
path('authentication/', include('authentication.urls')),
path('store/', include('store.urls')),
04. Run python manage.py migrate
(you'll need the Admin app enabled).
05. The App requires Django Sessions
06. In your settings.py file include the following:
SITE_TITLE = 'your-site-title'
LOGIN_URL = '/authentication/'
EMAIL_HOST = 'email-host'
EMAIL_PORT = email-port
EMAIL_HOST_USER = 'emaill-address'
EMAIL_HOST_PASSWORD = 'email-password
EMAIL_USE_TLS = True
AUTHENTICATION_DEBUG=False
CURRENCY = 'Rs.'
# Integer value
DELIVERY_TIME_IN_HOURS = 24
# Integer greater than or equal to 1, must correspond with DELIVERY_TIME_IN_HOURS
DELIVERY_TIME_IN_DAYS = 1
'context_processors': [
...
'store.context_processors.site_defaults',
],
07. Tp redirect users to "store" homepage use any of the following -
- <a href="{% url 'store:homepage' %}">Store</a>
- <a href='/store/'>Login</a>
08. When AUTHENTICATION_DEBUG = TRUE
- Live EMAILS will not be sent and verification codes, if any, will be displayed in the console.
- No password validation will happen.
09. When a user closes their account, the app will not delete the User account but set is_active
to False
in User Model
10. Layout template refers to favicon.ico
in static
folder in the root directory.
<link rel="icon" type="image/x-icon" href="{% static 'favicon.ico' %}">
11. Product images are stored in BASE_DIR/static/images/product-images
upload_to="static/images/product-images/"
12. Check Demo Website and Github code for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-ecom-store-0.0.2.tar.gz
(32.6 kB
view details)
Built Distribution
File details
Details for the file django-ecom-store-0.0.2.tar.gz
.
File metadata
- Download URL: django-ecom-store-0.0.2.tar.gz
- Upload date:
- Size: 32.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f3ed6a375e164b19ffa3cf5e84a75761c97418bab3c7ad69be43fb05a210f9c |
|
MD5 | 13d4cd91aea472f47821812af5243cd8 |
|
BLAKE2b-256 | 8321f126b8345f639a1211d06e59a40a55fd13f8b0b3236531583a809fca95a3 |
File details
Details for the file django_ecom_store-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: django_ecom_store-0.0.2-py3-none-any.whl
- Upload date:
- Size: 47.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1dd211fa6be8f028b9a379e06a004db4a5dbc778b1272e65a6564f943cf29b8 |
|
MD5 | 7e408ed86373fe409ef76e879622d675 |
|
BLAKE2b-256 | 24ff4ac9ab1c4ed8d4184f92f9d9917b5a2e60fa3b574b3ca2d9533b715c585f |