django-blogs app to provide you facility to craete a blogs in admin panel
Project description
=====
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 to end of url.py file
urlpatterns += [
url(r'^media/(?P<path>.*)$', serve, {
'document_root': settings.MEDIA_ROOT,
}),
]
3. Run `python manage.py migrate` to create the blogs models.
4. Start the development server and visit http://127.0.0.1:8000/admin/
to create a blog (you'll need the Admin app enabled).
5. Visit http://127.0.0.1:8000/blog/ to participate in the Blog.
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 to end of url.py file
urlpatterns += [
url(r'^media/(?P<path>.*)$', serve, {
'document_root': settings.MEDIA_ROOT,
}),
]
3. Run `python manage.py migrate` to create the blogs models.
4. Start the development server and visit http://127.0.0.1:8000/admin/
to create a blog (you'll need the Admin app enabled).
5. Visit http://127.0.0.1:8000/blog/ to participate in the Blog.
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 Distributions
Close
Hashes for admindjango-ckeditor-blog-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4937204b1190071ac968082c31418d6b564966e8ba445c9e3efb12f3096ec24 |
|
MD5 | 3ddbbf6835a2d5e3e55efa645ebdd229 |
|
BLAKE2b-256 | 20f74453c23f50b05ca92f6408c78978ae1c71912b7c1b7896e2c9d8cf8120bf |
Close
Hashes for admindjango_ckeditor_blog-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07a6634d5b6ce5233d4870f980cc68dc963aa53f2055bfa9fba1333849dd3455 |
|
MD5 | d2da88e17c67a89225c8db4c940d5a94 |
|
BLAKE2b-256 | b9f4275cda6056bcdb2c0392453a79f7098a4ef9a1fc03e8a873c86270b634d5 |
Close
Hashes for admindjango_ckeditor_blog-0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3c1193cf89557666959cd84ebe59c73317e79171be24633278933fa0dc17729 |
|
MD5 | c11dbbe52ea25693b0eeafbc86370267 |
|
BLAKE2b-256 | bec2cd53adee33f58c136890862568df3f626f8930bbe2de719b08f10d2ff67f |