Skip to main content

Reusable blog app for Django-Widgy

Project description

Django Widgy Blog

This is reusable blog app designed for use with django-widgy. It can be utilized as a drop-in addition to a widgy project for creating a quick, run-of-the-mill blog or as an abstract guide to building your own custom app that takes advantage of all the wonderful features that widgy offers.

Quickstart

(This guide assumes that your project is already using widgy. Please see this tutorial if this is not the case.)

  1. Install the package

    $ pip install django-widgy-blog

  2. Add widgy_blog to your INSTALLED_APPS.

  3. Run python manage.py syncdb and python manage.py migrate in order to generate the relevant models in the database.

  4. Configure the urls:

    1. If you’re using widgy’s contrib.urlconf_include package, you can opt to use widgy_blog as a plugin. This allows admin users of the site to take advantage of plugin-specific features, such as editing the url route of the blog and customizing its addition to menus. See urlconf_include for more information.

    2. Alternatively, you can include the widgy_blog urls within your urls.py file as you normally would. Just remember to add them before the included Mezzanine urls if your editing the root conf!

  5. That’s it. Log in to the admin center and start adding blog posts!

CHANGES

0.1.0 (release September 16, 2014)

  • Add model attributes to AbstractBlogLayout and BlogAdmin that make them easier to subclass. Update AbstractBlogLayout published queryset function to use fewer queries [Scott Clark, #18]

  • Backwards Incompatible: Registered the BlogLayout model with widgy. If you weren’t using this as your Blog layout, you will need to unregister it:

    import widgy
    from widgy_blog.models import BlogLayout
    
    widgy.unregister(BlogLayout)

    If you were already registering the BlogLayout yourself, you can just remove that code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

widgy-blog-0.1.0.tar.gz (12.0 kB view details)

Uploaded Source

File details

Details for the file widgy-blog-0.1.0.tar.gz.

File metadata

  • Download URL: widgy-blog-0.1.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for widgy-blog-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d58c1e978afe92945a81aef5748deffad81e8118695bff95dd18cbea5feec967
MD5 edb6af36688a8588ece177bce344402b
BLAKE2b-256 36305c98f6246194b1e54687ee29be5897abda946985357c976c75c52a50f3c6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page