I want to add a completely custom profile page. How do I do this?

The off-the-shelf option that Mezzanine gives us is to, as far as I can 
tell, create a Link page to /users/. That gives you the default profile.

I know very little about Mezzanine, so at the moment the best I could do 
would be to 

a) in models.py create a ProfilePage subclass off Page with no Fields.

b) take the accounts_profile.html template, copy it to 
myapp/templates/page/accounts_profile.html, and make the necessary 
modifications

c) create the necessary page_processor to add context.

This solution looks extremely ugly to me, especially step a). Alright, at 
least I will have to write a page_processor to add the context (step b), 
and I will also have to write the template itself (step c), but seing as 
how apparently Mezzanine already knows how to draw pages for Profiles 
without the necessity for a ProfilePage, is it possible to avoid step a)?

EDIT:

Maybe I can simply define a django-type view and urls and add it to the 
Content as a Link page. Is that acceptable?

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to