Giter Club home page Giter Club logo

django-people's Introduction

Django People

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.

django-people's People

Contributors

mbrochh avatar niceguydave avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-people's Issues

TemplateSyntaxError 'simple_translation_tags' is not a valid tag library

Django Version: 1.8.18

TemplateSyntaxError
'simple_translation_tags' is not a valid tag library: Template library simple_translation_tags not found, tried django.templatetags.simple_translation_tags,djangocms_admin_style.templatetags.simple_translation_tags,django.contrib.admin.templatetags.simple_translation_tags,django.contrib.staticfiles.templatetags.simple_translation_tags,cms.templatetags.simple_translation_tags,menus.templatetags.simple_translation_tags,sekizai.templatetags.simple_translation_tags,treebeard.templatetags.simple_translation_tags,djangocms_text_ckeditor.templatetags.simple_translation_tags,filer.templatetags.simple_translation_tags,easy_thumbnails.templatetags.simple_translation_tags,djangocms_snippet.templatetags.simple_translation_tags
python 2.7.13

Package simple-translation is installed.

TemplateDoesNotExist admin/hvad/change_form.html

Hey there,
Using Django 1.8.18 and python 3.5.3 with django-people plugin causes this error when adding new person. Requirements are installed.

Any ideas, do I need to add the hvad template path to the TEMPLATES array in the django settings.py?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.