Skip to main content
=====
Blogs
=====

Blogs is a simple Django app to conduct Web-based Blogs. This Blog app
allows authorized users to maintain a blog. Blogs are a series of posts
that are time stamped and are typically viewed by date. Blog entries can
be made depending on which roles have access to add blog.

Quick start
-----------

1. Add "blog" to your INSTALLED_APPS setting like this:

INSTALLED_APPS = [
...
'blog',
'ckeditor',
'ckeditor_uploader',
]

2. Add following lines to your settings.py:

MEDIA_ROOT = os.path.join(BASE_DIR, "uploads")
MEDIA_URL = "/uploads/"

CKEDITOR_UPLOAD_SLUGIFY_FILENAME = False
CKEDITOR_JQUERY_URL = '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js'
CKEDITOR_IMAGE_BACKEND = "pillow"
CKEDITOR_UPLOAD_SLUGIFY_FILENAME = True
CKEDITOR_UPLOAD_PATH = "uploads/"

CKEDITOR_CONFIGS = {
'default': {
'skin': 'moono',
'toolbar': 'full',
'height': 100,
'allowedContent': True,
},
}
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_URL = '/static/'

3. Add following lines in url.py file

from django.conf.urls import url, include
from django.conf import settings
from django.views.static import serve
from django.conf.urls.static import static
from django.core.urlresolvers import reverse

add the following url in urlpatterns:
url(r'^ckeditor/', include('ckeditor_uploader.urls')),

and at the end of urlpatterns:
'+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)'

urlpatterns += [
url(r'^media/(?P<path>.*)$', serve, {
'document_root': settings.MEDIA_ROOT,
}),
]

3. Run `python manage.py makemigrations` to create the blogs models.

4. Run `python manage.py migrate` to create the blogs models.

5. Start the development server and visit http://127.0.0.1:8000/admin/
to create a blog (you'll need the Admin app enabled).

6. Visit http://127.0.0.1:8000/blog/ to participate in the Blog.

Metadata

Release files for admindjango-ckeditor-blog 2.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 admindjango-ckeditor-blog 2.0
File Size Uploaded Provenance Actions
admindjango-ckeditor-blog-2.0.tar.gz 14.6 kB Without provenance Details for admindjango-ckeditor-blog-2.0.tar.gz

Release files / admindjango-ckeditor-blog-2.0.tar.gz

Download URL admindjango-ckeditor-blog-2.0.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d8726f281bb387b61ee03fde82e9085ba0121865a6c719cffd37decd12e990c6
BLAKE2b-256 checksum
How to use checksums
1cb093f4fac307e33449bf33051abb3f8fb132f1cb55afa7cab102ba5d15258e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for admindjango-ckeditor-blog 2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0 This release

1 release file No provenance

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