Skip to main content

An app for showing person profiles, for example for your "About us" section.

Project description

A simple app to show person profiles, for example for the “About us” section of a website.

Comes with a django-cms plugin and is multilingual.

Installation

If you want to install the latest stable release from PyPi:

$ pip install django-people

If you feel adventurous and want to install the latest commit from GitHub:

$ pip install -e git://github.com/bitmazk/django-people.git#egg=people

Add people to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...,
    'cms',
    'menus',
    'treebeard',
    'filer',
    'easy_thumbnails',
    'people',
)

Run the migrations:

./manage.py migrate people

Usage

Use the Django admin to create your person objects. If you are using django-cms you can use the Person Plugin to display a person in your placeholders.

Settings

PERSON_PLUGIN_DISPLAY_TYPE_CHOICES

Default:

[
    ('small', _('small')),
    ('big', _('big')),
]

When using the Person Plugin in your django-cms placeholders you will notice that you only have two choices for the Display type. This field can be helpful when you want to render a person differently in different parts of your site. If you need even more display types, just set this setting to a different list of tuples.

Roadmap

Check the issue tracker on github for milestones and features to come.

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-people-1.3.tar.gz (19.7 kB view details)

Uploaded Source

File details

Details for the file django-people-1.3.tar.gz.

File metadata

  • Download URL: django-people-1.3.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-people-1.3.tar.gz
Algorithm Hash digest
SHA256 0c4fdf6a19decf7235bec9e59de36932aff59f6fea34c1e9830c2e19300b7584
MD5 da79d0caab818fe6f85f544760f62ec5
BLAKE2b-256 b7df67cc36cfa3a2c4a2e6dcae2260b4b5a0eee331a43c35dbf06ef206b57475

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page