Skip to main content

django-sitegate

https://github.com/idlesign/django-sitegate

release lic coverage

What's that

django-sitegate is a reusable application for Django to ease sign up & sign in processes.

This application will handle most common user registration and log in flows for you.

Sign in

  • username/e-mail + password
  • username + password
  • Yandex
  • Google
  • GitHub
  • GitLab
  • Discord
  • Telegram
  • Slack
  • Twitch

Sign up

  • username/e-mail + password
  • invitation code + username/e-mail + password
  • username + password
  • username + e-mail + password
  • username + password + password confirmation
  • username + e-mail + password + password confirmation

Quick example

Here follows the most straightforward way possible with django-sitegate to have both sign up & sign in functionality on your page.

  1. Use sitegate_view decorator to mark your view as the one handling both signups and signins:

    from django.shortcuts import render
    
    from sitegate.toolbox import sitegate_view
    
    @sitegate_view  # This also prevents logged in users from accessing our sign in/sign up page.
    def entrance(request):
        return render(request, 'entrance.html', {'title': 'Sign in & Sign up'})
    
  2. Then in your template load sitegate tag library and put sitegate_signup_form & sitegate_signin_form tags in place where you want a registration and sign in forms to be.

    {% extends "_base.html" %}
    {% load sitegate %}
    
    {% block page_contents %}
        <div class="my_signin_block">
            {% sitegate_signin_form %}
        </div>
        <div class="my_signup_block">
            {% sitegate_signup_form %}
        </div>
    {% endblock %}
    

You're done. Now your site visitors have an e-mail + password form to register and username/e-mail + password form to log in.

Documentation

https://django-sitegate.readthedocs.io/

Metadata

Release files for django-sitegate 1.5.0

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-sitegate 1.5.0
File Size Uploaded Provenance Actions
django_sitegate-1.5.0.tar.gz 32.5 kB Without provenance Details for django_sitegate-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-sitegate 1.5.0
File Interpreter ABI Platform Actions
django_sitegate-1.5.0-py3-none-any.whl Python 3 none any Details for django_sitegate-1.5.0-py3-none-any.whl

Total release size: 95.7 kB

Release files / django_sitegate-1.5.0.tar.gz

Download URL django_sitegate-1.5.0.tar.gz
Size 32.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8d6c2b802f0b846545b4586a5c1cc6173416e9976b9b85426065f1151b5b7b9b
BLAKE2b-256 checksum
How to use checksums
ef1c2552927bd1514acdda2cc3dc55ba825eccfd9bf72b0ff4d96156f368ff91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / django_sitegate-1.5.0-py3-none-any.whl

Download URL django_sitegate-1.5.0-py3-none-any.whl
Size 63.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e1f76d727ef570a44116609c1169ee28218e41eed0ab5c264ca1937e00ce120
BLAKE2b-256 checksum
How to use checksums
9a7fc31911517abe97ea9059b0a60509ff18879aef011cbe0d47b7717c911a14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for django-sitegate 1.5.0

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.

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files No provenance

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