class allura.ext.user_profile.user_main.ProfileSectionBase(user, project)

This is the base class for sections on the Profile tool.


A resource string pointing to the template for this section. E.g.:

template = "allura.ext.user_profile:templates/projects.html"

Sections must be pointed to by an entry-point in the group [allura.user_profile.sections].

class allura.ext.user_profile.user_main.UserProfileApp(user, config)

This is the Profile tool, which is automatically installed as the default (first) tool on any user project.


Loads and caches user profile sections from the entry-point group [allura.user_profile.sections].

Profile sections are loaded unless disabled (see allura.lib.helpers.iter_entry_points) and are sorted according to the user_profile_sections.order config value.

The config should contain a comma-separated list of entry point names in the order that they should appear in the profile. Unknown or disabled sections are ignored, and available sections that are not specified in the order come after all explicitly ordered sections, sorted randomly.