Re: [mezzanine-users] Where is the login page?

2017-09-24 Thread Danny
Hi Jenia,

Cartridge and Mezzanine use the mezzanine.accounts app for public user
login.

See: http://mezzanine.jupo.org/docs/user-accounts.html

Note that if you create a Profile model that contains address fields that
match what the Cartridge checkout form wants, the checkout process will try
and copy those fields into the checkout form (see
https://github.com/stephenmcd/cartridge/blob/master/cartridge/shop/checkout.py#L118
)
This is quite a handy feature. The fields in the user profile should be
named "street", "city", "state", "postcode", "country" and "phone".

Accessing the user's profile is the same as it is in mezzanine, through the
/accounts/update/ URL.

Hope this helps,

Seeya. Danny.




On 25 September 2017 at 08:04, jenia mtl  wrote:

> Hello.
>
>
> I can't find the login page in Cartridge.
>
> For example, when the user wants to rate a product, they need to login.
>
> There should be some login functionality I suppose.
>
> Is it this: admin/login/?next=/admin/?
>
> If so, how do I set the button there at the bottom to be "Site" by default
> instead of "Admin".
>
> Should I create my own login page for that?
>
> And finally, how do users register? How do I differentiate users from
> admins?
>
>
> 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 mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[mezzanine-users] Where is the login page?

2017-09-24 Thread jenia mtl
Hello.


I can't find the login page in Cartridge.

For example, when the user wants to rate a product, they need to login.

There should be some login functionality I suppose. 

Is it this: admin/login/?next=/admin/?

If so, how do I set the button there at the bottom to be "Site" by default 
instead of "Admin".

Should I create my own login page for that?

And finally, how do users register? How do I differentiate users from 
admins?


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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.