dau-0.1.3
توضیحات
Automatic user creation at Django startup.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dau-0.1.3 |
| نام | dau |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | ['AndreGuerra123'] |
| ایمیل نگهدارنده | ['guerraandre@hotmail.com'] |
| نویسنده | AndreGuerra123 |
| ایمیل نویسنده | guerraandre@hotmail.com |
| آدرس صفحه اصلی | https://github.com/AndreGuerra123/dau |
| آدرس اینترنتی | https://pypi.org/project/dau/ |
| مجوز | MIT |
[](https://travis-ci.org/AndreGuerra123/django_autouser)
[](https://codecov.io/gh/AndreGuerra123/django_autouser)
# Django Auto User
Django Auto User (DAU) is a Django (Python) library for the automatic creation of users.
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install Django Auto User.
```bash
pip install dau
```
## Usage
Add 'dau' to INSTALLED APPS after 'django.contrib.admin' in your settings.py:
```python
INSTALLED_APPS = [
...
'django.contrib.admin',
'dau',
...
]
```
Then, just add DJANGO_AUTO_USER settings to your settings.py file as:
```python
DJANGO_AUTO_USER = [
{
'username':'admin',
'email':'admin@admin.com',
'password':'adminpass',
'is_superuser':True,
'is_staff':True,
'is_active':True
}
]
```
Make your migrations with:
```bash
python manage.py makemigrations
python manage.py migrate
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)
نیازمندی
| مقدار | نام |
|---|---|
| >=2.1,<3.0 | django |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl dau-0.1.3:
pip install dau-0.1.3.whl
نصب پکیج tar.gz dau-0.1.3:
pip install dau-0.1.3.tar.gz