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. In settings.py remember to configure LOGIN_URL
7. python manage.py syncdb --settings=project.settings
8. 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)),
...
)
9. python manage.py runserver --settings=project.settings
10. http://127.0.0.1:8000/sign-in
11. Django 1.5.1 compatible
Changelog:
----------
0.0.2
Bootstrap implemented
Nice feature design
More navigation
-----------
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. In settings.py remember to configure LOGIN_URL
7. python manage.py syncdb --settings=project.settings
8. 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)),
...
)
9. python manage.py runserver --settings=project.settings
10. http://127.0.0.1:8000/sign-in
11. Django 1.5.1 compatible
Changelog:
----------
0.0.2
Bootstrap implemented
Nice feature design
More navigation
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.2.tar.bz2
(2.5 kB
view details)
File details
Details for the file django-user-0.0.2.tar.bz2.
File metadata
- Download URL: django-user-0.0.2.tar.bz2
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
965b81ae112d052d403e672d92476cf6bc67b2e2c5182191fa8f1b674ee8f07d
|
|
| MD5 |
381d086bbac55a865eec7e2ad26719bc
|
|
| BLAKE2b-256 |
9ad6a23243e836aad7069d996a3258cde2356485c59cfad340a36c77ec2688da
|