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. Run `python manage.py migrate` to create the polls models.
7. 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. Run `python manage.py migrate` to create the polls models.
7. 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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for django_classic_user_accounts-1.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c21795b9be7c8d60ef5b9727fca87cb8b8df9ac979db1db36b254bb00976dd5 |
|
MD5 | 3d7d503dd1dc1b73d1457ac39981dc16 |
|
BLAKE2b-256 | c6d674f626989da6aa54fb58428b03cc5531edb7fe2295d76a728193f2a20f66 |