A simple Django app manage user profiles
Project description
#Keoh User Profile
Keoh User Profile is a very simple app to use extended version of Django User model.
##Quick start
Add “user_profile” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'user_profile', )
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
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
Hashes for django-keoh-userprofile-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7be935b88cdd9b79c8c9b163ec7a45f04e7c3a76357716f3f5f6a8244aa1df62 |
|
MD5 | 72d299553afee02d8aeef7b7c8145611 |
|
BLAKE2b-256 | 40a4b9b5cec87b31a316cbd65993c9fbd5ab75fdc32953c6e04452e682a782f2 |