[mezzanine-users] Re: Best way to show user-specific info?

2014-03-07 Thread Eduardo Rivas
Hi Niels. Quick question: have you given User Profiles a shot? You need to do two things: tell Mezzanine which model you want use as user profile with settings.AUTH_PROFILE_MODULE = "path.to.your.model" and secondly, enable user profiles with settings.ACCOUNTS_PROFILE_VIEWS_ENABLED = True. This

[mezzanine-users] Re: Best way to show user-specific info?

2014-03-08 Thread Lucian Corduneanu
You may also want to have Product class inheriting mezzanin's Ownable (see: http://mezzanine.jupo.org/docs/packages.html?highlight=ownable#mezzanine.core.models.Ownable). if you use Eduardo's approach. -- You received this message because you are subscribed to the Google Groups "Mezzanine Use

[mezzanine-users] Re: Best way to show user-specific info?

2014-03-08 Thread Niels Jakob Buch
Thanks Ed, your first approach was the one I started on, but not sure how to approach it in detail. Your second approach sounds more "normal" and I think the ownable idea from Lucian makes sense here. I think I will go with this. Still looking for examples though...any pointers? -- You recei

[mezzanine-users] Re: Best way to show user-specific info?

2014-03-08 Thread Lucian Corduneanu
I'm also a beginner in python/django/mezzanine world, but here's what I did, in a kind of a similar scenario. I'm using cartridge and my products are from different vendors, therefore I injected a custom field

[mezzanine-users] Re: Best way to show user-specific info?

2014-03-14 Thread Niels Jakob Buch
Thank you so much Lucian and Eduardo I am not mature enough as of yet to start working with Cartridge, although it looks promising. I have followed your hints and has still not succeeded in getting my app integrated with Mezzanine, it is significantly more difficult than first anticipated, it

Re: [mezzanine-users] Re: Best way to show user-specific info?

2014-03-14 Thread Josh Cartmell
Hey Niles, Mezzanine is Django, so adding a Django app to a Mezzanine project should be the same as adding it to any other Django project. In general I add the app to INSTALLED_APPS, sync the db/run migrations and add any necessary urls to my project's urls.py file. Those should be the basic step