Django simple account
Requirements
- Python 3.6+
- A supported version of Django (currently 3.x)
Getting It
You can get Django simple account by using pip:
$ pip install django-simple-account
If you want to install it from source, grab the git repository from GitHub and run setup.py:
$ git clone git://github.com/kostya-ten/django_simple_account.git $ cd django_simple_account $ python setup.py install
Installation
To enable django_simple_account
in your project you need to add it to INSTALLED_APPS in your projects settings.py
INSTALLED_APPS = (
# ...
'django_simple_account',
# ...
)
Enable context_processors
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
# ....
'django_simple_account.context_processors.settings',
],
},
},
]
Add urls.py
in project
urlpatterns = [
# ...
path('accounts/', include('django_simple_account.urls')),
]