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.10.1.tar.gz
(14.7 kB
view hashes)
Built Distribution
Close
Hashes for django_tcb_blog-0.10.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0712e503135d83701fd380770310c01684479475239f8d8351ea5ef21bfb2a70 |
|
MD5 | 99abb767be1ae0851d99e626851b3a67 |
|
BLAKE2b-256 | 436d787e8564d8c25f5fb18f7fb8af40df36c93112bd1533e8c3176c616491bd |