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.4.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.4.0
File Size Uploaded Provenance Actions
django_sitegate-1.4.0.tar.gz 32.2 kB Without provenance Details for django_sitegate-1.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 92.4 kB

Release files / django_sitegate-1.4.0.tar.gz

Download URL django_sitegate-1.4.0.tar.gz
Size 32.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ba12fe3acfa4e03c8ce72cc5aa6d4d9d2218cca3bc3ade5e7744d2837d00c522
BLAKE2b-256 checksum
How to use checksums
70289046e220458359884036fb9b9cf8a32a130661718546bdc0a11e3d500c99
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.4.0-py3-none-any.whl

Download URL django_sitegate-1.4.0-py3-none-any.whl
Size 60.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d5d7acac8db0ca2f409319845f5eea3600ea320c31a035769fc2d09b5aaafd1
BLAKE2b-256 checksum
How to use checksums
52f9e49d1ea456679e6fc4efa51c8ac4bac4b38e61b4d0ef3790062c4f98b2d9
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.4.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.4.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