Skip to main content

A Django mixin application to raise a registration or paywall

Project description

PyPI version Build status

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

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

django-registrationwall-0.1.5.tar.gz (3.4 MB view hashes)

Uploaded source

Built Distribution

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