Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kumaraditya303/django-rest-accounts
Django Rest Accounts is a Django reusable app built with Django Rest Framework for easier account management for REST app.
https://github.com/kumaraditya303/django-rest-accounts
django django-application django-authentication django-rest-framework
Last synced: 26 days ago
JSON representation
Django Rest Accounts is a Django reusable app built with Django Rest Framework for easier account management for REST app.
- Host: GitHub
- URL: https://github.com/kumaraditya303/django-rest-accounts
- Owner: kumaraditya303
- License: mit
- Created: 2020-10-08T05:46:06.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-11T06:11:59.000Z (over 3 years ago)
- Last Synced: 2024-09-28T16:41:08.542Z (about 1 month ago)
- Topics: django, django-application, django-authentication, django-rest-framework
- Language: Python
- Homepage:
- Size: 146 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![Travis CI](https://img.shields.io/travis/com/kumaraditya303/django-rest-accounts?label=Travis%20CI&logo=travis&style=flat-square)
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fkumaraditya303%2Fdjango-rest-accounts&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)
![](https://img.shields.io/pypi/pyversions/djangorestaccounts?logo=Python&style=flat-square)
![](https://img.shields.io/pypi/dm/djangorestaccounts)
![](https://img.shields.io/codecov/c/github/kumaraditya303/django-rest-accounts?logo=codecov&style=flat-square)# Django Rest Accounts
Django Rest Accounts is a Django app built on Django Rest Framework for easier account management for REST API.
## Quick Start
- Add `accounts` to your INSTALLED_APPS like this::
```python
INSTALLED_APPS = [
...,
"rest_framework",
"rest_framework.authtoken",
"accounts",
]
```- Include the accounts URLconf in your project urls.py like this::
```python
path('accounts/', include('accounts.urls')),
```- In your settings.py set the
```python
AUTH_USER_MODEL = "accounts.User"
```- Run `python manage.py migrate` to create authentication models.
- Start the development server and visit http://127.0.0.1:8000
- URL Configuration
| URLConf | |
| :------: | :--------: |
| LOGIN | /login/ |
| REGISTER | /register/ |
| LOGOUT | /logout/ |# Project made and maintained by Kumar Aditya