Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

django-tcb-blog

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-tcb-blog

A Django backend based on DRF for blogging from TheCodeBlogs

  • 0.11.3
  • PyPI
  • Socket score

Maintainers
1

========================== TheCodeBlogs Blog Backend

Blogging made easy

Settings

These should go into your settings.py file.

.. code-block:: python

TCB_BLOG_SETTINGS = {
    'RSS_FEED_TITLE': 'Title of the blog',
    'RSS_FEED_LINK': '/blog/',
    'RSS_FEED_ITEM_DESC_TEMPLATE': 'feed/entries.html'
}

Quick start

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

.. code-block:: python

INSTALLED_APPS = [ ... 'blog', ]

  1. Include the polls URLconf in your project urls.py like this

.. code-block:: python

path('blog_api/', include('blog.urls')),

  1. Setup a module named 'backend'

  2. Using celery.py.sample as a guide, setup celery do that tasks will work

  3. Run python manage.py migrate to create the blog models.

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

  5. Visit http://127.0.0.1:8000/blog_api/ to see something.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc