Skip to main content

PyPI version Build status

https://raw.githubusercontent.com/richardcornish/django-registrationwall/master/docs/_static/img/regwall-detail.png

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.

Install

$ pip install django-registrationwall

Add to settings.py.

INSTALLED_APPS = [
    # ...
    'regwall',
]

Add to one of your views.py.

from django.views.generic import DetailView

from regwall.mixins import RaiseRegWallMixin

from .models import Article


class ArticleDetailView(RaiseRegWallMixin, DetailView):
    model = Article

Metadata

Release files for django-registrationwall 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-registrationwall 0.1.5
File Size Uploaded
django-registrationwall-0.1.5.tar.gz 3.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-registrationwall 0.1.5
File Interpreter ABI Platform
django_registrationwall-0.1.5-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 3.4 MB

Release files / django-registrationwall-0.1.5.tar.gz

Download URL django-registrationwall-0.1.5.tar.gz
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
df166d5d287d0f0be4ece13ac0640796312e2c5a5229afa00501285db391ff88
BLAKE2b-256 checksum
How to use checksums
73701d0cf75cbb4c678aea794d701ff4f31bcb3e8c40f7cf8729dfd10c96a9cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_registrationwall-0.1.5-py2.py3-none-any.whl

Download URL django_registrationwall-0.1.5-py2.py3-none-any.whl
Size 15.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fbb3e710dada1ac6285a1b4bc5052ab7511f62759bb43eb4e2b79fa19ca32509
BLAKE2b-256 checksum
How to use checksums
cb5bc666176b25d3479b54d1e42e79126f34698f8c9dae8ba25664b13ec4c5b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page