A user app that introduce simple sign-in and sign-up.
Project description
django-user
-----------
1. django-admin.py startproject project
2. Configure your database in your settings file:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'project.db',
}
}
3. Install the package to your python site-packages folder or just use it as a module in your project.
4. Add 'user' to INSTALLED_APPS in your settings file.
5. Install django-coffee to your python site-packages folder or just use it as a module in your project.
6. Add 'django.contrib.admin' to INSTALLED_APPS in your settings file.
7. Configure yourt settings file further:
TEMPLATE_CONTEXT_PROCESSORS = (
'django.contrib.auth.context_processors.auth',
'django.core.context_processors.request',
'django.core.context_processors.static',
'django.contrib.messages.context_processors.messages'
)
8. In settings.py remember to configure LOGIN_URL
9. python manage.py syncdb --settings=project.settings
10. In your projects urls add the following code:
from django.contrib import admin
admin.autodiscover()
from user import urls as user_urls
urlpatterns = patterns('',
...
url(r'^', include(user_urls)),
url(r'^admin/', include(admin.site.urls)),
...
)
11. python manage.py runserver --settings=project.settings
12. Add optional customizable messages to your settings file, USER_MESSAGE_SIGN_IN, USER_MESSAGE_SIGN_UP, USER_MESSAGE_PROFILE, USER_MESSAGE_CHANGE_PASSWORD.
13. http://127.0.0.1:8000/sign-in
14. Optionally add the following options.
1. USER_MESSAGE_SIGN_IN_ERROR = 'Incorrect login!'
2. AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend', 'user.backends.EmailAuthBackend',)
In order to loginwith your email instead.
14. Django 1.5.1 compatible
15. See http://pythonhosted.org/django-user, for a showcase
Changelog:
----------
0.0.2
Bootstrap implemented
Nice feature design
More navigation
0.0.3
Profile and Sign Out processes
0.0.5
Change Password implementation
0.0.6
Optional customizable messages
0.1.0
Depends now on django-coffee.
0.1.1
Login with email option
-----------
1. django-admin.py startproject project
2. Configure your database in your settings file:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'project.db',
}
}
3. Install the package to your python site-packages folder or just use it as a module in your project.
4. Add 'user' to INSTALLED_APPS in your settings file.
5. Install django-coffee to your python site-packages folder or just use it as a module in your project.
6. Add 'django.contrib.admin' to INSTALLED_APPS in your settings file.
7. Configure yourt settings file further:
TEMPLATE_CONTEXT_PROCESSORS = (
'django.contrib.auth.context_processors.auth',
'django.core.context_processors.request',
'django.core.context_processors.static',
'django.contrib.messages.context_processors.messages'
)
8. In settings.py remember to configure LOGIN_URL
9. python manage.py syncdb --settings=project.settings
10. In your projects urls add the following code:
from django.contrib import admin
admin.autodiscover()
from user import urls as user_urls
urlpatterns = patterns('',
...
url(r'^', include(user_urls)),
url(r'^admin/', include(admin.site.urls)),
...
)
11. python manage.py runserver --settings=project.settings
12. Add optional customizable messages to your settings file, USER_MESSAGE_SIGN_IN, USER_MESSAGE_SIGN_UP, USER_MESSAGE_PROFILE, USER_MESSAGE_CHANGE_PASSWORD.
13. http://127.0.0.1:8000/sign-in
14. Optionally add the following options.
1. USER_MESSAGE_SIGN_IN_ERROR = 'Incorrect login!'
2. AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend', 'user.backends.EmailAuthBackend',)
In order to loginwith your email instead.
14. Django 1.5.1 compatible
15. See http://pythonhosted.org/django-user, for a showcase
Changelog:
----------
0.0.2
Bootstrap implemented
Nice feature design
More navigation
0.0.3
Profile and Sign Out processes
0.0.5
Change Password implementation
0.0.6
Optional customizable messages
0.1.0
Depends now on django-coffee.
0.1.1
Login with email option
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
django-user-0.1.1.tar.bz2
(4.0 kB
view details)
File details
Details for the file django-user-0.1.1.tar.bz2.
File metadata
- Download URL: django-user-0.1.1.tar.bz2
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af2067b4c074150032bb235a2824dccc4f8781e3d5e47463673b07349128a8f5
|
|
| MD5 |
620fa434ee9a5fabfd32a5799b918c92
|
|
| BLAKE2b-256 |
00445162998c48de26fa8ba0168562215152af5ff7345518f078a6a00525eefc
|