A Django backend based on DRF for blogging from TheCodeBlogs
Project description
Blogging made easy
Settings
These should go into your settings.py file.
TCB_BLOG_SETTINGS = {
'RSS_FEED_TITLE': 'Title of the blog',
'RSS_FEED_LINK': '/blog/',
'RSS_FEED_ITEM_DESC_TEMPLATE': 'feed/entries.html'
}
Quick start
Add “blog” to your INSTALLED_APPS setting like this
INSTALLED_APPS = [
...
'blog',
]
Include the polls URLconf in your project urls.py like this
path('blog_api/', include('blog.urls')),
Setup a module named ‘backend’
Using celery.py.sample as a guide, setup celery do that tasks will work
Run python manage.py migrate to create the blog models.
- Start the development server and visit http://127.0.0.1:8000/admin/
to create a poll (you’ll need the Admin app enabled).
Visit http://127.0.0.1:8000/blog_api/ to see something.
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
django_tcb_blog-0.11.3.tar.gz
(15.0 kB
view hashes)
Built Distribution
Close
Hashes for django_tcb_blog-0.11.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c444b6b17a55c9789ee37ca80664a4da838ea4f97ccd4e9b1e2c53a01b493247 |
|
MD5 | 7a8e902e2790049d4fd5ceedbf3acd93 |
|
BLAKE2b-256 | 145068126ed3cded78676d289e1a04523f2a0882fcef9044868191186994da86 |