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. Add 'django.contrib.admin' to INSTALLED_APPS in your settings file.
6. 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'
)
7. In settings.py remember to configure LOGIN_URL
8. python manage.py syncdb --settings=project.settings
9. 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)),
...
)
10. python manage.py runserver --settings=project.settings
11. http://127.0.0.1:8000/sign-in
12. Django 1.5.1 compatible
13. 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
-----------
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. Add 'django.contrib.admin' to INSTALLED_APPS in your settings file.
6. 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'
)
7. In settings.py remember to configure LOGIN_URL
8. python manage.py syncdb --settings=project.settings
9. 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)),
...
)
10. python manage.py runserver --settings=project.settings
11. http://127.0.0.1:8000/sign-in
12. Django 1.5.1 compatible
13. 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
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.0.5.tar.bz2
(3.4 kB
view details)
File details
Details for the file django-user-0.0.5.tar.bz2
.
File metadata
- Download URL: django-user-0.0.5.tar.bz2
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9388bb654f72e9203b34f78e947d3ade9ccc01d50d1484997feb65caaaf915ef
|
|
MD5 |
8f07afd2965fe2661b1e1e492e85baa3
|
|
BLAKE2b-256 |
acb79ed2319d924213c90ad932f6f149c2267d1594f5df8fddc403c211abaf07
|