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. Works well with django-poll.
Changelog:
----------
0.0.2
Bootstrap implemented
Nice feature design
More navigation
0.0.3
Profile and Sign Out processes
-----------
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. Works well with django-poll.
Changelog:
----------
0.0.2
Bootstrap implemented
Nice feature design
More navigation
0.0.3
Profile and Sign Out processes
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.3.tar.bz2
(5.4 kB
view hashes)