Skip to main content

PyPI badge Installs badge License badge Wheel badge

Description

Automatic admin users for Django projects.

Screenshot

License

This project is open sourced under the MIT License.

Installation

$ pip install django-autoadmin
  • Add 'autoadmin', to your project’s INSTALLED_APPS list.

  • Load the autoadmin_tags in your login template.

  • Call the autoadmin_partial to display the information of the autogenerated admin user.

  • Use the management command createautoadmin to create an admin user with an automatic password.

by default, django-autoadmin creates a django superuser with the username="admin", email="autoadmin@example.com" and password randomly generated.

you could modify this by creating the following variables in your settings file

AUTOADMIN_USERNAME="your_custom_username"

AUTOADMIN_EMAIL="your_custom_email"

AUTOADMIN_PASSWORD="your_custom_password"

NOTE: if AUTOADMIN_PASSWORD is None, the password will be randomly generated.

Contribute

  • Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.

  • Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).

  • Write a test which shows that the bug was fixed or that the feature works as expected.

  • Make sure to add yourself to the AUTHORS file.

  • Send a pull request

1.1.1 (2016-05-05)

  • Include missing migrations into package.

1.1.0 (2015-10-16)

  • Corrected a situation where project migrating database from old version not using django-autoadmin would have problem logging in.

  • Added a test project

  • Code coverage is now 100%

  • Added tox test support

  • Setting overrides now work all the time

  • django-autoadmin is now tested against Python 2.7, 3.2, 3.3, 3.4, Django 1.7 and 1.8

  • Removed all PEP8 warnings

  • All autoadmin code was moved from the management command to the AutoAdminSingleton manager

1.0.1 (2015-06-14)

  • No changes, just a version bump as required by PyPI

1.0.0 (2015-06-14)

  • Update included partial template

  • Django admin interface enabled

  • Drop support for Django < 1.6

  • Adds support Django >= 1.7

  • Autoadmin user is no longer created after database migration

  • Add new createautoadmin management command

  • Uses Django’s own createsuperuser management command

  • Adds Django native database migrations

  • Uses AppConfig to about running code during import

  • Adds supports for custom User models

  • ENABLE setting removed

  • Default email changed to autoadmin@example.com

0.5.0 (2014-08-25)

  • Initial release

Metadata

Release files for django-autoadmin 1.1.1

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-autoadmin 1.1.1
File Size Uploaded
django-autoadmin-1.1.1.tar.gz 8.2 kB Details

Built distribution (wheel)

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

Total release size: 20.9 kB

Release files / django-autoadmin-1.1.1.tar.gz

Download URL django-autoadmin-1.1.1.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6fb1d3475b3c1aec0a3101dc16b68726bb4516ed3f7cbb0891032cebdaff9f5b
BLAKE2b-256 checksum
How to use checksums
b14fbef700ed64aef3d09ce0c8949f63a69de61938b53c61ab0d9a1ffb20f9da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_autoadmin-1.1.1-py2.py3-none-any.whl

Download URL django_autoadmin-1.1.1-py2.py3-none-any.whl
Size 12.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ea9e96c87f633fff21c656f89f6503d191d530d8e946233747dc377d78ea33dc
BLAKE2b-256 checksum
How to use checksums
d4faf8aeda31939fe11c5a50c4ead9f4ed8c47e777d9ccdce809e1d23ec22e22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.1

2 release files

0.5.0

2 release files

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