Metadata-Version: 2.4
Name: djaccount
Version: 0.1.0
Summary: Django account manager
Project-URL: Repository, https://gitlab.com/x59/djaccount.git
Project-URL: Issues, https://gitlab.com/x59/djaccount/-/work_items
Author-email: Yehuda Deutsch <yeh@uda.co.il>
License-Expression: MIT
License-File: LICENSE
Keywords: account,django
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Systems Administration :: Authentication/Directory
Requires-Python: >=3.6
Provides-Extra: dev
Requires-Dist: django>=2.0; extra == 'dev'
Provides-Extra: rest
Requires-Dist: djangorestframework; extra == 'rest'
Requires-Dist: djangorestframework-stubs>=1.4.0; extra == 'rest'
Description-Content-Type: text/markdown

# Django Account

Account app for the Django framework provides an email based user object

## Simple usage

Install by running `pip install djaccount`

Add the following settings to your `settings.py` file
```python
INSTALLED_APPS = [
  # contrib and other apps here
  'account',
  # some more custom apps here
]
AUTH_USER_MODEL = 'account.Account'
LOGIN_URL = '/account/login/'
LOGIN_REDIRECT_URL = '/account/'
LOGOUT_REDIRECT_URL = '/'
```

Add the account URLs to your `urls.py` file
```python
urlpatterns = [
  path('account/', include('account.urls', namespace='account')),
]
```

Run `django-admin migrate`

## License

See [LICENSE](LICENSE)

Some of the initial work was made as part of my job at [Sync.me](https://sync.me)
