Added:
/wiki/pp_get_user_profile.wiki
=======================================
--- /dev/null
+++ /wiki/pp_get_user_profile.wiki Wed Feb 9 04:46:17 2011
@@ -0,0 +1,32 @@
+#summary To load this tag include {% load notificationtags %} at the top
of the html file.
+#sidebar TableOfContents
+
+= Custom Tag: `pp_get_user_profile` =
+====_Module: pirate_messges_====
+
+This template tag populates the namespace `pp_profile` with a Profile
object, containing biographical and other information
+
+==_Arguments and Parameters_==
+
+ * user: the user we need a Profile for
+
+==_Return value_==
+
+ * `pp_profile.profile`: a Profile object containing all of the Profile
model fields
+ * `pp_profile.user`: A User object the profile is associated with.
+
+==_Usage Notes_==
+ * *Assumptions*: None
+
+ * *Errors*: None
+
+==_Examples_==
+====Basic form====
+The following code will display the reputation integer.
+{{{
+ {% pp_get_user_profile user=request.user %}
+ {{ pp_profile.profile.bio }}
+ {{ pp_profile.profile.birthdate }}
+ {{ pp_profile.user }}
+ {% endpp_get_user_profile %}
+}}}