Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A username-only authentication app. Also, unknown users get created automatically. You probably don't want this in production.

Project description

What is sillysignin?

I used to spend a lot of time working with Google App Engine. One of my favorite GAE features is was that, when you run an app locally (, it includes a simple, password-free, simulated login page. Enter any email address in the box, and suddenly you are logged into your app as a user with that email address.

When you’re GAE app is deployed, you get all the benefit of the full-fledged authentication page. If your app worked in the simulator, it should work in production as well.

‘sillysignin’ is basically that, for plain old Django apps. It provides a dead-simple, dead-standard login page (and authentication provider) that only requires usernames, and automatically creates non-existent accounts.

Needless to say, you shouldn’t use this in production. It exists because I’m working on a reusable (I hope) Django app, and being able to quickly log in as a new user, and not worry about account creation and passwords, is useful.

Make it go

It depends on django-class-based-auth-views, which made my work super easy. If you’re writing your own authentication views, you should use it.

  • Install it using your favorite method for doing such things(like “pip install django-sillysignin”).
  • Add sillysignin to your INSTALLED_APPS
  • Set AUTHENTICATION_BACKENDS = (‘sillysignin.backends.SillyAuthBackend’,)
  • Map the URL: url(r’^accounts/’, include(‘sillysignin.urls’)),

(If you don’t want to use /accounts, be sure to configure LOGIN_URL and LOGOUT_URL appropriately)

What will the future bring?

It might be fun if you could “decorate” another authentication app, such that it automatically uses the your “real” authentication system in production, but uses sillysignin while you are developing (maybe on DEBUG=True?)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-sillysignin, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size django-sillysignin-0.0.6.tar.gz (9.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page