Metadata-Version: 2.1
Name: django-createuser
Version: 0.1.0
Summary: Create an user for Django
Home-page: https://github.com/dex4er/django-createuser
Author: Piotr Roszatycki
Author-email: piotr.roszatycki@gmail.com
License: LGPL
Keywords: django manage createuser
Platform: OS Independent
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.10
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.0
Classifier: Framework :: Django :: 2.1
Classifier: Framework :: Django :: 2.2
Requires-Dist: django (<2) ; python_version < "3"
Requires-Dist: django (>=2) ; python_version >= "3"
Provides-Extra: dev
Requires-Dist: docutils ; extra == 'dev'
Requires-Dist: Pygments ; extra == 'dev'

.. image:: https://img.shields.io/pypi/v/django-createuser.svg
   :target: https://pypi.python.org/pypi/django-createuser
.. image:: https://travis-ci.org/dex4er/django-createuser.svg?branch=master
   :target: https://travis-ci.org/dex4er/django-createuser
.. image:: https://readthedocs.org/projects/django-createuser/badge/?version=latest
   :target: http://django-createuser.readthedocs.org/en/latest/
.. image:: https://img.shields.io/pypi/pyversions/django-createuser.svg
   :target: https://www.python.org/
.. image:: https://img.shields.io/pypi/djversions/django-createuser.svg
   :target: https://www.djangoproject.com/

django-createuser
=================

``django-createuser`` is a package that allows to create users for Django
application with ``./manage.py`` command.


Installation
------------

Install with ``pip`` or ``pipenv``:

.. code:: python

  pip install django-createuser

Add ``django_createuser`` to your installed apps in your
settings.py file:

.. code:: python

  INSTALLED_APPS = [
      'django_createuser',
      ...
  ]


Commands
--------

createuser
^^^^^^^^^^

Used to create a user.

positional arguments:

  +--------------+-----------------+
  | ``username`` | Login; required |
  +--------------+-----------------+

optional arguments:

  -h, --help            show this help message and exit
  --email EMAIL         Email; required
  --first_name FIRST_NAME
                        First name; optional
  --last_name LAST_NAME
                        Last name; optional
  --password PASSWORD   Password; optional
  --is-staff            Staff status; optional, default is False
  --is-superuser        Superuser status; optional, default is False
  -g GROUPS, --groups GROUPS
                        List of user's groups; optional, comma is a separator
  --database DATABASE   Specifies the database to use; optional, default is
                        ``"default"``
  --version             show program's version number and exit
  -v LEVEL, --verbosity LEVEL
                        Verbosity level; 0=minimal output, 1=normal output,
                        2=verbose output, 3=very verbose output
  --settings SETTINGS   The Python path to a settings module, e.g.
                        ``"myproject.settings.main"``. If this isn't provided,
                        the ``DJANGO_SETTINGS_MODULE`` environment variable
                        will be used.
  --pythonpath PYTHONPATH
                        A directory to add to the Python path, e.g.
                        ``"/home/djangoprojects/myproject"``.
  --traceback           Raise on ``CommandError`` exceptions
  --no-color            Don't colorize the command output.
  --force-color         Force colorization of the command output.


Documentation
-------------

See http://django-createuser.readthedocs.org/


License
-------

Copyright © 2019, Piotr Roszatycki

This software is distributed under the GNU Lesser General Public License (LGPL
3 or greater).


