Hmm my posts were deleted. However, this is with profiles right? I
just want a plain login/logout system :$. And is there also something
like an editor. Because when I type my posts now I can't use enters
because everything is escaped. And the for loop does not work:

{{for post in posts:}}
    {{=post.titel}}

    {{=post.time}}

    {{=post.post}}
{{pass}}

When I do this I get:

Web2Py 2009-04-25 12:19:05 Welcome to my new blog. This blog isn't PHP
but just Web2Py a Python web framework. Its really easy and simple. I
only need a new style without this green stuff. ~ Phant Welcome
2009-04-25 12:10:00 Welcome Hello World! 2009-04-25 12:04:59 For The
Lulz! My Boy 2009-04-25 12:00:53 Hello

Everything is just set together, how can I fix this?

On Apr 25, 12:45 pm, Mladen Milankovic <mml...@gmail.com> wrote:
> Hi.
>
> You can do something with the auth class.
> Here some tutorial about it.http://mdp.cti.depaul.edu/examples/default/tools
>
> You can expose only functions for login/logout. Create a user by hand, through
> web2py admin.
> Then create controllers/functions that requires authorization.
>
> For the safety... it should be enough safe for a blog. :)
> Nothing is safe on the internet, theres always someone who can hack it.
> The only question is: is it worth to hack it. :)
>
> regards
> mmlado
>
> On Saturday 25 April 2009 12:32:10 Pynthon wrote:
>
> > Thanks man! Works perfect! Maybe I want this blog for my public site.
> > But I also want to make an admin panel. How need I to make that? I
> > know how to work with sessions. But can it also be safe?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to