Skip to main content

Django Registration Wall

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 Provenance Actions
django-registrationwall-0.1.5.tar.gz 3.4 MB Without provenance Details for django-registrationwall-0.1.5.tar.gz

Built distribution (wheel)

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

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

Security for django-registrationwall 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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