A reusable blog app powered by Python, Django, DRF, Wagtail CMS, TailwindCSS and DaisyUI.
Project description
django-w-blog
Overview
A reusable blog app powered by Python, Django, DRF, Wagtail CMS, TailwindCSS and DaisyUI.
Get started
Install the package:
pip install django-w-blog
Configure your Django settings:
# project/settings.py
# Application definition
INSTALLED_APPS = [
"blog",
"blog.api", # Optional if you do not want to use the API
"blog.apps.articles",
"blog.apps.categories",
"blog.apps.home", # Optional if you have a home app with a Home model ('home.Home')
"blog.apps.indexes",
"blog.apps.tags",
"blog.cms",
"blog.ui",
# Deps
"rest_wind", # Optional if you do not want to use the API
"rest_framework", # Optional if you do not want to use the API
"wagtail.contrib.search_promotions",
"wagtail.contrib.forms",
"wagtail.contrib.redirects",
"wagtail.embeds",
"wagtail.sites",
"wagtail.users",
"wagtail.snippets",
"wagtail.documents",
"wagtail.images",
"wagtail.search",
"wagtail.admin",
"wagtail",
"modelcluster",
"taggit",
...
]
Run the migrations:
# In your project root
python mange.py migrate
Update your URLConf:
# project/urls.py
from django.urls import include, path
from wagtail import urls as wagtail_urls
from wagtail.admin import urls as wagtailadmin_urls
from wagtail.documents import urls as wagtaildocs_urls
urlpatterns = [
path("", include("blog.ui.urls")),
path("api/", include("blog.api.urls")), # Optional if you do not want to use the API
path("api/", include("rest_framework.urls")), # Optional if you do not want to use the API
...
path("documents/", include(wagtaildocs_urls)),
path("dashboard/", include(wagtailadmin_urls)),
path("", include(wagtail_urls)), # Make sure this line is the last
]
Key Features
- CI/CD Pipelines: Automated using GitHub Actions to ensure consistent and reliable deployment processes.
- Dependency Management: Powered by Poetry, a sophisticated tool for managing project dependencies with precision and reliability.
- Code Formatting: Automatically formatted with Black to maintain a consistent and readable codebase.
- Code Linting: Utilizes Ruff to identify and address potential issues early, enhancing code quality and maintainability.
- Code Testing: Utilizes Django to run tests.
- Configuration Files: Includes
.gitignore,pyproject.toml, and other essential configuration files to streamline setup.
Contributing
We warmly welcome contributions from the community. Please refer to our CONTRIBUTING guide for detailed instructions on how to contribute effectively. Your feedback and participation are essential for the continued improvement of this template.
Support
For inquiries or support, please open an issue or join the discussion in the GitHub Discussions section to engage with the community.
Licensing
This project is licensed under the MIT License. A detailed copy of the terms can be found in the LICENSE file.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_w_blog-0.1.1.tar.gz.
File metadata
- Download URL: django_w_blog-0.1.1.tar.gz
- Upload date:
- Size: 39.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.13.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
131ecd722412687bd3c95a45c547ca2f6e5f223182919c5535178a1925ee5775
|
|
| MD5 |
ddceefaa3879d1c975afcad9e7e3ff12
|
|
| BLAKE2b-256 |
f51bf973844679a8f708497df110619b1feffd46ce91e523c99b3d744fe1803a
|
File details
Details for the file django_w_blog-0.1.1-py3-none-any.whl.
File metadata
- Download URL: django_w_blog-0.1.1-py3-none-any.whl
- Upload date:
- Size: 62.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.13.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4847fcfdc8bf0c36741529ff648308ea8f7a4e68031fd34486571e73e1f5a95a
|
|
| MD5 |
56aa7741b28ae21a36885c5b07ccb202
|
|
| BLAKE2b-256 |
f2c6efe82dfa5eb964dffb92ccd40f35d580dc9cfcfe619c08fabcf571cbccbe
|