This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

# django-continue-reading Templatetag for truncating blog post bodies and adding a link that says “continue reading…” which redirects the user to the absolute url or full body of the post.

###Package

https://pypi.python.org/pypi/django-continue-reading

###Installation `$ pip install django-continue-reading`

Add the following to your INSTALLED_APPS section

'django_continue_reading' ###How it works…

If your blog application has a model object that has a title and body field

`title = models.CharField(max_length=250)`

`body = models.TextField()`

You can pass the post model object and number of words you would like to truncate your post at to this templatetag

`{% load continue_reading %}`

`{% continue_reading post 80 %}`

It will then truncate the number of words in your post body and append a link to the bottom

Lorem ipsum dolor sit amet consectetur adipiscing elit Cras enim erat fermentum ut diam vitae dapibus vulputate erat Vestibulum ut aliquet turpis sed ultricies mauris Nullam non felis vehicula dui vulputate mattis bibendum vitae ipsum Nam vel volutpat augue nec consectetur neque Mauris at vulputate erat Aliquam erat volutpat Pellentesque eleifend molestie magna nec efficitur neque faucibus nec Aliquam convallis ultricies lorem ut malesuada lectus luctus vel Quisque volutpat tincidunt leo a hendrerit Suspendisse condimentum velit odio nec mattis justo...

continue reading

The continue reading link will use the absolute_url of your post model object to redirect the user to the full thing.

Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-continue-reading-0.1.1.tar.gz (4.6 kB) Copy SHA256 Checksum SHA256 Source Feb 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting