A extended user profile for Django.
Project description
=====
Django Classic User Accounts
=====
Detailed documentation is in the "docs" directory.
Quick
-----------
1. Add "ClassicUserAccounts" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'ClassicUserAccounts',
'django.contrib.admin',
'django.contrib.auth',
]
2. Add "AUTH_USER_MODEL" in your settings file like this::
AUTH_USER_MODEL = 'ClassicUserAccounts.User'
3. Add "Middleware" to youe MIDDLEWARE settings like this::
MIDDLEWARE = [
...
'ClassicUserAccounts.middleware.ClassicUserAccountsMiddleWare',
]
4. Add "SITE_NAME" in your settings file like this::
SITE_NAME = 'Your site name'
5. Add url in your project.urls file::
urlpatterns = [
...
path('accounts/', include('ClassicUserAccounts.urls')),
]
6. Change Skin ::
Avaliable Skins:: ['skin-blue', 'skin-black', 'skin-red', 'skin-yellow', 'skin-purple', 'skin-green', 'skin-blue-light',
'skin-black-light', 'skin-red-light', 'skin-yellow-light', 'skin-purple-light', 'skin-green-light']
You have add "ROLE_BASED_SKIN" in your settings file like this::
ROLE_BASED_SKIN = [
{'role': 'Admin', 'skin_name': 'skin-red'},
{'role': 'Subscriber', 'skin_name': 'skin-purple'}
]
7. Multi theme feature added.::
Add THEME_NAME in your settings file to change theme
Available themes : default-theme, theme-1, theme-2, theme-3
8. Run `python manage.py migrate` to create the polls models.
9. Start the development server and visit http://127.0.0.1:8000/admin/
to manage user profile (you'll need the Admin app enabled).
Django Classic User Accounts
=====
Detailed documentation is in the "docs" directory.
Quick
-----------
1. Add "ClassicUserAccounts" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'ClassicUserAccounts',
'django.contrib.admin',
'django.contrib.auth',
]
2. Add "AUTH_USER_MODEL" in your settings file like this::
AUTH_USER_MODEL = 'ClassicUserAccounts.User'
3. Add "Middleware" to youe MIDDLEWARE settings like this::
MIDDLEWARE = [
...
'ClassicUserAccounts.middleware.ClassicUserAccountsMiddleWare',
]
4. Add "SITE_NAME" in your settings file like this::
SITE_NAME = 'Your site name'
5. Add url in your project.urls file::
urlpatterns = [
...
path('accounts/', include('ClassicUserAccounts.urls')),
]
6. Change Skin ::
Avaliable Skins:: ['skin-blue', 'skin-black', 'skin-red', 'skin-yellow', 'skin-purple', 'skin-green', 'skin-blue-light',
'skin-black-light', 'skin-red-light', 'skin-yellow-light', 'skin-purple-light', 'skin-green-light']
You have add "ROLE_BASED_SKIN" in your settings file like this::
ROLE_BASED_SKIN = [
{'role': 'Admin', 'skin_name': 'skin-red'},
{'role': 'Subscriber', 'skin_name': 'skin-purple'}
]
7. Multi theme feature added.::
Add THEME_NAME in your settings file to change theme
Available themes : default-theme, theme-1, theme-2, theme-3
8. Run `python manage.py migrate` to create the polls models.
9. Start the development server and visit http://127.0.0.1:8000/admin/
to manage user profile (you'll need the Admin app enabled).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-classic-user-accounts-1.0.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6df884e68379e487983e70a681873d4c7eac00f51c31d905ef4617f2b28c733b |
|
MD5 | 8fde15297c9c846dffa3d8fbc3543b8f |
|
BLAKE2b-256 | 79f89826b8631a36a120605544bfb4db68d859330c8fca8512b526ad1dade378 |