Download armstrong.templates.paywall 1.0.0



Antivirus information.

We did not scan armstrong.templates.paywall 1.0.0 for viruses, adware, spyware or other type of malware. For your own protection it's recommended to have an updated antivirus installed on your computer when downloading and installing programs from freesoftware0.

freesoftware0 lists downloads from various software publishers, so if you have a question regarding a particular software contact the publisher directly. The download links for armstrong.templates.paywall 1.0.0 are provided to you by freesoftware0 without any warranties, representations or gurantees of any kind, so download at your own risk.

Description

armstrong.templates.paywall provides a basic example of how to create a paywall inside Armstrong.

This template shows a working version of paywall code. The paywall is declared in urls/defaults.py.

Usage

You can use this to initial a demo Armstrong project with a paywall. The paywall is defined in urls/defaults.py. By default, the SubscriptionPaywall returns a 304 when access is denied, but it has been overriden to render the permission_denied.html template instead. The only view that needs to be protected is the ArticleDetailView.

The third article on the front page, 'Help Wanted' is protected. When not logged in, the permission_denied.html will be rendered, but when logged in as a staff member or as the user with the username user and password of user you will see the normal article.html template.

You can install this demo project template via the armstrong binary that ships with armstrong.cli like this:

 armstrong init --template=paywall

You must install this package in order to be able to use armstrong init. You can also use it via Django's django-admin.py as of Django 1.4. Create a clone of the armstrong.templates.paywall repository and run this command (adjusting the paths for your machine):

 django-admin.py startproject --template=/path/to/armstrong.templates.paywall/project_template

Installation & Configuration

You can install the latest release of armstrong.templates.paywall using pip:

pip install armstrong.templates.paywall

No configuration is required for this component.

Contributing

- Create something awesome -- make the code better, add some functionality, whatever (this is the hardest part).
- Fork it
- Create a topic branch to house your changes
- Get all of your commits in the new topic branch
- Submit a pull request

State of Project

Armstrong is an open-source news platform that is freely available to any organization. It is the result of a collaboration between the Texas Tribune and Bay Citizen, and a grant from the John S. and James L. Knight Foundation.

To follow development, be sure to join the Google Group.

armstrong.templates.paywall is part of the Armstrong project. You're probably looking for that.


Product's homepage

Requirements:

· Python

Related programsOur Recommendations

University of Houston for Google Chrome 1.0.3

University of Houston is a Google Chrome and Firefox theme especially designed for serious Cougar

Download

Gyrics 1.0

Gyrics is an Amarok script that fetches lyrics or similar lyrics list from the

Download

WhiteBoard 3.5

Wb is an remote conferencing application for shared drawing developed by the Network Research Group

Download

Tank Ball 2 13.3573.2794

Drive around in this forestry and destroy all enemies, in this online game.About Google

Download

RhodeCode 1.7.1

RhodeCode (formerly hg-app) is Pylons based repository management and serving for

Download

HumanNature 2

HumanNature is a GTK theme that tries to go away from grey colours as it is a glossy and modern

Download

GNOME Boxes 3.4.3 / 3.5.3

GNOME Boxes is a simple GNOME 3 application to access remote or virtual systems. It is based on a

Download

Test::File 1.33

Test::File is a Perl module that provides a collection of test utilities for file attributes.Some

Download

sh2log 1.0

sh2log is a PTY sniffing program that captures all keystrokes and console output of physical and

Download

openSteam 0.9.1

openSteam is a generic approach to a web-based shopping and eCommerce platform. As a webagency

Download


Thumbnail of armstrong.templates.paywall 1.0.0

Rating:

5 stars

Price: FREE

Publisher/Developer: Bay Citizen & Texas Tribune

Release Date: Jun 21, 2012

View Program Details

Top Downloadslast week