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 seems that there is a small detail everywhere that breaks 
the route.

I am REALLY interested in a step by step guide to integrate a Django App 
into Mezzanine the 3 lines in the end of the "Content architecture" doesnt 
lead me in the right direction.

I am hacking all sorts of places in all sorts files and I have a feeling 
that I am starting to break my setup more than I am building stuff.

Can anyone point me to a blog post or anything that helps noobs like me get 
on track?

Thanks mucho

On Friday, 7 March 2014 09:04:35 UTC+1, Niels Jakob Buch wrote:
>
>
> I guess this is a noob question, but I hope this is the place to learn.
>
> My mezzanine model looks like this (details removed):
>
> class Customer(models.Model):
>     user = models.OneToOneField("auth.User")
>
> class Product(models.Model):
>     unique_id = models.CharField(max_length=50, primary_key=True)
>     owner = models.ForeignKey("Customer")
>
> class Event(models.Model):
>     product = models.ForeignKey("Product")
>     eventtime  = models.DateTimeField("Date/time of event")
>
> class CustomerPage(Page, RichText):
>     customer = models.OneToOneField("Customer.user")
>     eventtime  = models.DateTimeField("Date of birth")
>     eventtype = models.CharField(max_length=50)
>
> I want to show a specific page for the user, where all related info is 
> shown, making up both details and lists.
>
> On the customer-page, when a user is logged in, I was hoping to get an 
> authenticated user-id, and the ability to iterate over the products for the 
> customer (=user) and iterate one level deeper on the events for the product.
>
> I have read through the authentication stuff for Django and Mezzanine, but 
> its not clear to me.
>
> How to approach this?
>
> Thanks
>

-- 
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/d/optout.

Reply via email to