Skip to main content

Django Blog

Django Blog is a Django app that allows you to create and manage blog applications.

Quick Start

Usage

After following the Quick Start guide, you're now ready to use the Django Blog app in your project. You can start creating, editing, and managing blog posts through the Django admin panel or through the provided APIs.

  1. Install the package from PyPI:
pip install drf-blog
  1. Add "blog" to the INSTALLED_APPS setting in your project's settings.py file:
INSTALLED_APPS = [
    ...
    "django_summernote",
    "rest_framework",
    "blog",
]
  1. Include the blog's URLs by adding the following line to your project's urls.py file:
from django.urls import path, include

urlpatterns = [
    ...
    path("", include("blog.urls")),
]
  1. Set up the necessary media and static file configurations in your project's settings.py file:
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_URL = "static/"
  1. Run database migrations to create the Blog models:
python manage.py migrate

Now you are ready to use the Django Blog app in your project.

Contributing:

Feel free to contribute to this project by submitting issues, fork the project and creating pull requests, or simply by suggesting new features.

License

This project is licensed under the MIT License

Release files for drf-blog 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drf-blog 1.0
File Size Uploaded
drf-blog-1.0.tar.gz 6.8 kB Details

Release files / drf-blog-1.0.tar.gz

Download URL drf-blog-1.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
67791faf102082e482b2663add6cb9fde88219c94ff47ea2c3534a898f6998aa
BLAKE2b-256 checksum
How to use checksums
513596047abb71750f125e62836d6ef5d8217dfccfde0165ffbfd08bf2776144
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page