A simple Django app with extended User model
Project description
=====
Keoh User Profile
=====
Keoh User Profile is a very simple app to use extended version of Django
User model.
Quick start
-----------
1. Add "user_profile" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = (
...
'user_profile',
)
2. Run `python manage.py syncdb` to create the user-profile models::
python manage.py syncdb
Or if you are using South, migrate:
python manage.py migrate user_profile
3. Visit http://127.0.0.1:8000/admin to view the new app in Django Admin
Details
-----------
This application creates a user_profile table in your database, this model is linked to django user model,
you can access to avatar image through the userprofile object in the user instance object::
user.userprofile.get_avatar()
It returns the complete url to the avatar file, or if it does not exist, it returns a default image.
Forms and user sign in and sign up
-----------
Documentation in progress.. :(
Keoh User Profile
=====
Keoh User Profile is a very simple app to use extended version of Django
User model.
Quick start
-----------
1. Add "user_profile" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = (
...
'user_profile',
)
2. Run `python manage.py syncdb` to create the user-profile models::
python manage.py syncdb
Or if you are using South, migrate:
python manage.py migrate user_profile
3. Visit http://127.0.0.1:8000/admin to view the new app in Django Admin
Details
-----------
This application creates a user_profile table in your database, this model is linked to django user model,
you can access to avatar image through the userprofile object in the user instance object::
user.userprofile.get_avatar()
It returns the complete url to the avatar file, or if it does not exist, it returns a default image.
Forms and user sign in and sign up
-----------
Documentation in progress.. :(
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-keoh-userprofile-0.0.3.tar.gz
(176.3 kB
view hashes)
Close
Hashes for django-keoh-userprofile-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2d8cb262bee0ce8905d35b94c15d77f2800ceedf3d3d41f2f6eea3c21d0d11b |
|
MD5 | d5252d414ba0ae38edfad966a275403b |
|
BLAKE2b-256 | 2270a413cd40fab22f81c1123073969fef98d1fb384fb83a81b9d09d7bb4fe5a |