Do you mean add {% include "registration/html" %} to base.html and
then use direct_to_template or redirect_to? I'm at a lost.
this is located in satchmo_store/accounts/urls.py:
(r'^login/$, 'emaillogin, {'template_name': 'registration/
login.html'}, 'auth_login') to (r'^$', direct_to_template,
{'template': "registration/template" }),
and this is the views.py for emaillogin:
https://bitbucket.org/benoitcsirois/bens-satchmo/src/ae1f0cf97e3a/satchmo/apps/satchmo_store/accounts/views.py
On Mar 24, 1:17 pm, Laszlo Antal <[email protected]> wrote:
> Hi
>
> On Mar 24, 2012, at 10:24, easypie <[email protected]> wrote:
>
> > How would it be possible to show login/password input prompt on
> > homepage without having to click the Login link? I'm trying to have
> > customers come to my site, login from homepage with username and
> > password, then hit login without having to be taken to the
> > registration/login.html page. I went through satchmoproject demos but
> > there wasn't an example of someone doing it that way. Here's the best
> > example I can find:http://www.yukiumi.com/en/
>
> Couple simple way to accomplish it.
> Copy the registration/login.html to your homepage html and point to it in
> your urls.py or do an auto redirect in your urls.py to the login page
>
> LZAntal
>
>
>
>
>
>
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Satchmo users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group
> > athttp://groups.google.com/group/satchmo-users?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.