skip to navigation
skip to content

django-registrationwall 0.1.5

A Django mixin application to raise a registration or paywall

Django Registration Wall is a Django mixin application that limits an anonymous user’s access to content, after which the user is redirected to the login URL. The behavior is modeled after the common paywall scenario.

Fake news articles credit goes to The Onion.


$ pip install django-registrationwall

Add to

    # ...

Add to one of your

from django.views.generic import DetailView

from regwall.mixins import RaiseRegWallMixin

from .models import Article

class ArticleDetailView(RaiseRegWallMixin, DetailView):
    model = Article
File Type Py Version Uploaded on Size
django-registrationwall-0.1.5.tar.gz (md5) Source 2017-07-17 3MB
django_registrationwall-0.1.5-py2.py3-none-any.whl (md5) Python Wheel 3.5 2017-07-17 15KB