This package is based on the blog project. It provides all the functionality required for a blog project
Project description
This package is for blog projects only. If you want to create a blog app using Django, you can use this package. No need to write code for blog app, just install this package and it will give you all APIs related to blog. You can customize these classes according to your needs.
Quick start
Add below apps into your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'ckeditor', 'taggit', 'rest_framework', 'blog', 'task_app', ]
Add ckeditor setup codes into your settings.py like this:
CKEDITOR_UPLOAD_PATH = "articles/body-images/" CKEDITOR_CONFIGS = { 'default': { 'toolbar': 'full', 'height': 300, 'width': 900, }, }
It will provide FileBasedCaching, for caching add below lines to your settings.py:
CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': f'{BASE_DIR}/cache_data', } } SEARCH_TIMEOUT = 60*60*24 # Update middleware setup like this: MIDDLEWARE = [ 'django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.cache.FetchFromCacheMiddleware', ]
Include all the polls URLconf in your project like this:
urlpatterns = [ path('ckeditor/', include('ckeditor_uploader.urls')), path('articles/', include('blog.urls')), ]
Run python manage.py migrate to create all the tables into database.
Start the development server and visit http://127.0.0.1:8000/articles/ to perform the CRUD operations.
Open this https://blog-module-community.herokuapp.com/ to get more information about this package.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django-customized-blog-package-1.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8090912cdf8f42af2ee94731064320a63b2eb67cb0b3a9ef825b8bd910cd4135 |
|
MD5 | 16756c6130203bf732365e7e18ad32a5 |
|
BLAKE2b-256 | 659d8dea79c16dadbd5e5bcc8c18dcc2783b6a37bcabc8ad490779e896d1d6e3 |
Hashes for django_customized_blog_package-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e4407b9df06d036123a735b204b0f809728106c457249ea74d3f6a8c458334d |
|
MD5 | 32ee77518bccb98c66392533cabfdbf1 |
|
BLAKE2b-256 | 70b795c06105c89e2480661f48bfec5294443f5d2aa228a30405c22684ce0214 |