Djangosubsribe: Django Reusable app for Email Subscription.
Djangosubscribe : Django Reusable app for Email Subscription.
Djangosubscribe is a Reusable Django app which provides a full featured Email Subscription Model. Djangosubscribe is rich features and powerful enough to start a Blog and News website, without installation of any 3rd party packages.
You can install Djangosubscribe from PyPI using pip.
pip install djangosubscribe
1. Open the
settings.py module of your project folder, And put djangosubscribe into
INSTALLED_APPS = ( 'djangosubscribe' )
2. Open the
urls.py module of your project folder, And include djangosubscribe URLs.
urlpatterns = [ ... re_path(r'^post/', include('djangosubscribe.urls')), ... ]
3. Setup the Templates for djangosubscribe.
Important Note: djangosubscribe App is a part of Djangoengine project. And if you want to access UI part of Djangoadmin App, You need to configure some Reusable/global templates to your django project or you can create your own templates, It's very easy.
TEMPLATES = [ ... ... 'DIRS': [os.path.join(BASE_DIR, 'templates'),], ... ... ]
templates folder inside
BASE_DIR and Then create
djangoadmin folders inside the templates folder.
Then download the djangoadmin templates and put them inside the
4. Static files configuration.
settings.py module and Configure Static files and media files or you can can use your own configuration.
STATIC_URL = '/static/' STATICFILES_DIRS = (os.path.join(BASE_DIR, 'static-local'),) STATIC_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'static-root', 'static') MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'static-root', 'media')
static-local folder inside
BASE_DIR, Then create
djangoadmin folders inside that
And also download the djangoadmin static files and put them inside the
Complete the Djangosubscribe setup by running the following command in sequence.
python manage.py makemigrations python manage.py migrate python manage.py collectstatic python manage.py runserver
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for djangosubscribe-2.2.1-py3-none-any.whl