I believe you need to implement you own signin controller to do that.
def signin(self):
username = request.params['username']
password = request.params['password']
users = GolotofUsersFromDatabase()
user = users.user_by_username(username)
url = '/'
But I have a new question
when I write like this follow the tutorial
(http://pylonsbook.com/alpha1/authentication_and_authorization)
and write as below
...
app = CacheMiddleware(app, config)
permission = ValidAuthKitUser()
app = authkit.authorize.middleware(app, permission)
...
Hi All,
I could login to the application through authkit framework.
When I login using http://localhost:5000/account/signin url directly,
I could login to the url but the server redirect my page to
http://localhost:5000/account/signin and display the following message
302 Found
The resource
Hi All,
We allow user to create the content if the user is a member of the
site and he has to login into the site. This can be done through
@authorize(ValidAuthKitUser()).
But we will allow the user to create the content only if he has rights
to create content. So I wanted to check the logined
Hi all,
I'm new to pylons and python web development. I've started working on
an application on my workstation but:
1. would like to know how to rename the app (since I had come up with
a random name). i've tried searching for this but nothing comes up
2. how to deploy an app to a production
Hi,
You don't rename your project, you name it anything and distribute
it (http://wiki.pylonshq.com/display/pylonsdocs/Distributing+Your
+Project), or add its absolute path (quick hack!) to your Python
distribution/site-packages/easy-install.pth
As for production deployment, there have been
On Mon, Sep 22, 2008 at 11:52 AM, wellhong [EMAIL PROTECTED] wrote:
I'm new to pylons and python web development. I've started working on
an application on my workstation but:
1. would like to know how to rename the app (since I had come up with
a random name). i've tried searching for this
Thank you all so far for the responses.
Wyatt, what is the reasoning as to why you'd avoid FCGI?
On Sep 22, 2:49 pm, Wyatt Baldwin [EMAIL PROTECTED] wrote:
On Sep 22, 11:52 am, wellhong [EMAIL PROTECTED] wrote:
Hi all,
I'm new to pylons and python web development. I've started working
Hi All,
In my Pylons site, I have to display the approximate posted time of
the content to the user.
For example,
1. posted 2 hours ago
2. Posted yesterday
3. Posted 2 days ago
4. Posted last month
5. posted two months ago
I have the created column in the database which is actually